Does GET have headers? Understanding HTTP Request Headers or Can you use headers with GET requests? (

16 Replies, 1226 Views

Title: Does GET have headers, or is it just for POST/PUT?

Hey everyone, kinda confused here. I always thought headers were just for POST/PUT requests, but now I'm hearing GET can have them too?

Like, does get have headers for real? Or am I missing something? I’ve seen some APIs use headers with GET, but my buddy swears it’s only for sending data, not fetching.

Also, how do headers even work with GET? Are they just ignored or what?

Would love some clarity—thanks!

(PS: If this is a dumb question, go easy on me lol)

Messages In This Thread
Does GET have headers? Understanding HTTP Request Headers or Can you use headers with GET requests? ( - by - 15-10-2024, 12:22 AM



Users browsing this thread: 1 Guest(s)