1

i want to test a small php script i wrote, which accepts POST requests.. but is there a way to test it without writing a html form. Im trying to do this using simple rest client chrome extension. But I'm not sure how to do POST request in it.

syllogismos
  • 600
  • 2
  • 15
  • 39

2 Answers2

8

By using Advanced REST Client, you can send a POST request in which the data can be stored as form data (probably the simplest).

Just click the second Form tab when entering the application, and you can specify key-value pairs.

Here is an image of the application.

Advanced Rest Client

whirlwin
  • 16,044
  • 17
  • 67
  • 98
-2

I use a very nice Chrome extension for this: REST client or similar. Look in the chrome market, is plenty of tools.

Oscar
  • 13,594
  • 8
  • 47
  • 75