jquery - Post the Content of the data variable to valid JSON format -


i trying send json data server (https://exampleurl.com/example?data=) setting content of data variable valid json following properties name , email , urls.

you cannot send json data in url. need pass json data in request body.

if using jquery, use following code:

$.post( "test.php", { name: "john", time: "2pm" } ); 

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -