Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Sorry for being late and thanks for the suggestions, they helped a lot in narrowing this down.

I want to clarify one thing first: I did not manually set the Content-Type header. I only selected multipart/form-data from the body tab, and Hoppscotch generated the header automatically (because it appears disabled/faded in the UI). So this wasn’t a manual header issue.

What I found

I added a debug on the backend:

print_r($this->input->request_headers());

Then tested with different clients:

Postman

[Authorization] => Bearer <TOKEN>

Hoppscotch Web

[Authorization] => Bearer <TOKEN>

Hoppscotch Desktop

[authorization] => Bearer <TOKEN>

Root cause

In the backend, the header is accessed like this:

$

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@a-sajjad72
Comment options

Answer selected by a-sajjad72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants