Let's practice our ability to construct http message. Use postman to build and send the correct message to the server in order to receive the desired response. Send the following messages to the below server and record what is in the response message body and status code. Make sure you do not recieve the status code 400
https://GlaringTreasuredForce--jw56578.repl.co
- method should be GET and path should be /products
- method DELETE and path /products/1
- method GET and path /products
- Inclue a header, authorized=true
- method POST and path /products
- Inclue a body in JSON format, {"name":"bike"}
- Inclue a header, Content-Type=application/json
What http method asks for a response identical to that of a GET request, but without the response body?
- make a GET request put the answer in the path
Who created Nodejs?
- make a GET request put their first name in the path /firstname
- include a header, lastname = their last name