HTTP 35

This challenge covers how to send specific HTTP requests

PRO
Tier
Easy
< 1 Hr.
2167
HTTP Badge

Course


In this challenge, you need to send a POST request to /pentesterlab with an XML body containing the value &please. Additionally, you must set the Content-Type header to application/xml. This exercise will help you understand how to properly format and send XML data in HTTP requests.

To achieve this, it is recommended to initially use curl for simplicity. Later, you can write a script in your preferred programming language to automate the task, which will be beneficial for future use. The challenge also emphasizes the importance of handling reserved characters in XML, such as the ampersand, which needs to be encoded properly to avoid errors.

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