HTTP 04

This challenge covers how to send specific HTTP requests

PRO
Tier
Easy
< 1 Hr.
3532
HTTP Badge

In this lab, you will learn how to manipulate HTTP headers by setting the Content-Type to a specific value. Your goal is to send a GET request to the endpoint /pentesterlab with the Content-Type set to key/please. This header is used by web browsers to inform the server about the format of the request's body.

We recommend starting with a simple curl command to solve this challenge. Once you have successfully sent the request, you can write a script in your preferred programming language to automate this process. This will help you build a collection of reusable scripts for future challenges. For example, you could use Ruby and HTTParty to accomplish this task by setting the Content-Type header in your HTTP request and retrieving the challenge key.

Want to learn more? Get started with PentesterLab Pro! GOPRO