This challenge covers how to send specific HTTP requests

< 1 Hr.
HTTP Badge


In this challenge, you need to send a POST request to the /pentesterlab endpoint. The body of the request should be formatted in YAML and contain a key with an array of two values: "please" and "please2". It's important to set the Content-Type header to application/yaml to ensure the request is properly interpreted.

We recommend starting with curl to complete this task, and then creating a script in your preferred language for future reuse. This approach allows you to build a collection of scripts that can be used for similar challenges down the line. Writing your script can build on previous code you've written for POST requests, making the process more efficient.

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