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 endpoint /pentesterlab with the body of the request containing the following YAML: key: please. Additionally, you must set the header Content-Type to application/yaml. This task tests your ability to craft HTTP requests with specific headers and body content.

We recommend starting with curl to get a basic understanding of the request structure. Once you have successfully sent the request using curl, you can then write a snippet of code in your preferred programming language to automate this task. This approach not only helps you solve the challenge but also allows you to build a collection of reusable scripts for future use.

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