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

python - argument must be rect style object - Pygame -

c++ - Qt setGeometry: Unable to set geometry -

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