send http request post with raw data in Javascript and retrieve with Perl
experts, some questions to ask, very grateful for your guidance.
I saw some rest client like Chrome Postman provided 2 ways of Post
request: form data and raw data. I see raw data can be in JSON format. I
didn't know how to implement this request in Javascript.
How can I handle this request if I use Perl as server side language? How
to retrieve the JSON data from the request?
Does the Get method put arguments in url as "?name=value&", while Post
method in some format of data such as JSON/XML? Does that the main
difference of the 2 methods? Get arguments can be got by parsing url,
method type can from ENV variable value, so how the JSON data was
transmitted?
No comments:
Post a Comment