Tuesday, May 13, 2014

How invoke POST HTTP request through firefox RESTClient plugin?

How invoke POST HTTP request through firefox REST Client plugin ?

You have to set the “request header” section of the Firefox plugin to have a “name” = “Content-Type” and “value” = “application/x-www-form-urlencoded”. Then you were able to put something like “name=rashid” in the “request body” and the server found a post variable with called “name” with the value you set.

At the top go to
Headers->Custom Header
then
In place of Name field without quotes:
"Content-Type"
In place of Value field without quotes:
"application/x-www-form-urlencoded"

 

No comments:

Post a Comment