What does custom http tool do and how to use it?
serkan1071
TURKEY
What does it mean and what should we fill the empty space with?
What do the following terms do and how should we use them?
other leader lines ,post data,successful is matches.
There is no information in the documents
There is no information in the documents
Thanked by 1Ritchievalens
Comments
I'm not that experienced with Chrome dev tools, so there might be a better way to do this, but here is an example of how to view HTTP headers:
Here's an example of HTTP headers as shown in the video:
-H 'sec-ch-ua: "Not-A.Brand";v="99", "Chromium";v="124"' \
-H 'Referer: https://hackerdaily.io/' \
-H 'DNT: 1' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \
-H 'sec-ch-ua-platform: "macOS"'
You can paste that into Chat GPT and ask it to explain what each line means:
curl 'https://hackerdaily.io/_nuxt/59062.js'
curl
command and the URL from which data should be fetched. Here, it's trying to retrieve a JavaScript file from the websitehackerdaily.io
.Headers (
-H
options):sec-ch-ua: "Not-A.Brand";v="99", "Chromium";v="124"
Referer: https://hackerdaily.io/'
Referer
header indicates the address of the webpage that linked to the resource being requested. It's used for analytics, logging, or security (to check if requests are coming from expected pages).DNT: 1
DNT
stands for "Do Not Track," which is a request header indicating the user's preference regarding tracking. A value of1
means that the user does not want to be tracked.sec-ch-ua-mobile: ?0
?0
means it is not a mobile device.User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
User-Agent
string provides detailed information about the user's browser, operating system, and device. This can influence how websites behave or appear.sec-ch-ua-platform: "macOS"
Here's an example of the headers added to the HTTP tool:
Some additional information explained by @Sven:
https://prnt.sc/HbvItSCanpbT
is work?