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
Post a Comment