HTTP 38

This challenge covers how to send specific HTTP requests

PRO
Tier
Medium
< 1 Hr.
2127
HTTP Badge

Course


In this lab, your objective is to send a specific POST request to the endpoint /pentesterlab. The request should include a JSON body with the key-value pair {"key": "please"} and must have the Content-Type header set to application/json to ensure the server understands the request.

To start, use the command-line tool curl to perform the request, which will help you understand the basics. Afterward, you can write a script in your favorite programming language to automate the process. Reusing code from previous POST requests can save time and effort. This exercise is part of the HTTP badge in PentesterLab and will help you build a reusable collection of scripts for future use.

Want to learn more? Get started with PentesterLab Pro! GO PRO