Search code examples
phpstormrest-client

How to pass POST parameters using PhpStorm REST CLIENT


POST parameters are passed in request body

In which format do I need to pass them in PhpStorm REST CLIENT?

I tried

param=value param:value

Nothing works. Any help appreciated


Solution

  • In the Headers section of the Request tab (within the REST Client window), be sure to add a Content-Type header and set it to application/x-www-form-urlencoded.