HTTP POST

The mechanics of HTTP POST are pretty much the same as GET, only this time we need to be sending some data to the server via POST.

images/rest/post.png

Now how are we going test this? What would be a good integration test that checks to see if we can add new permits in the system?

When faced with writing any new test, one technique that’s handy to get the ball rolling is to just pseudocode (write out in plain English) out what you would like to see happen.

Try it now. Use the following space to write out in plain language the steps you would take to create a new permit in the system.

If you are getting caught up in “I don’t know what HTTP POST is” or “I’ve ...

Get The Way of the Web Tester now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.