Title: Try making HTTP calls with other methods
Time: 5-10 minutes
Purpose: Learn how to make HTTP calls using the curl
command and experiment with different parameters. As well as trying to find different errors from these requests.
Introduction:
A lot of systems interact using HTTP requests and these request can return different error codes and fail in many different and interesting ways. So it is very handy to be familiar with making different types of HTTP requests with curl
. It also gives you an opportunity to be a bit more creative in how you can discover bugs and recreate errors.
Activity:
- Try making HTTP requests using the PUT, DELETE, UPDATE or any other HTTP methods. Try making a request that will return a 200 OK response.
- ( Extra ninja points
) Have a go at making the HTTP requests again but modify it so that it will return a error response.
- ( Extra ninja points
) Are the errors that you found valid errors? Or are they actually bugs?