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

android - questions about switching from C2DM to GCM -

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

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -