[GH-ISSUE #166] Headers turn into 0 : [Object object] #64

Closed
opened 2026-03-16 13:07:43 +03:00 by kerem · 4 comments
Owner

Originally created by @davidyscott on GitHub (Sep 25, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/166

Describe the bug
Headers specified in the "Headers" section do not get sent correctly on the request. Instead, they are sent with the key as a zero-indexed integer and the value as "[Object object]". That is, if I specify one header, let's say abcd : efgh the actual request will have 0 : [Object object]. If I specify two headers, the request will have 1 : [Object object] as well.

To Reproduce
Steps to reproduce the behavior:

  1. Open Postwoman, set up a request
  2. Configure one or more headers
  3. Open your browser's Network Tools
  4. Send the request
  5. In the Network Tools, observe that the header you wanted was not sent, but 0 : [Object object] was
Originally created by @davidyscott on GitHub (Sep 25, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/166 **Describe the bug** Headers specified in the "Headers" section do not get sent correctly on the request. Instead, they are sent with the key as a zero-indexed integer and the value as "[Object object]". That is, if I specify one header, let's say `abcd : efgh` the actual request will have `0 : [Object object]`. If I specify two headers, the request will have `1 : [Object object]` as well. **To Reproduce** Steps to reproduce the behavior: 1. Open Postwoman, set up a request 1. Configure one or more headers 1. Open your browser's Network Tools 1. Send the request 1. In the Network Tools, observe that the header you wanted was not sent, but `0 : [Object object]` was
kerem 2026-03-16 13:07:43 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@liyasthomas commented on GitHub (Sep 25, 2019):

Issue has been identified.

<!-- gh-comment-id:534827279 --> @liyasthomas commented on GitHub (Sep 25, 2019): Issue has been identified.
Author
Owner

@davidyscott commented on GitHub (Sep 25, 2019):

@liyasthomas WOW SO FAST!!!

<!-- gh-comment-id:534827778 --> @davidyscott commented on GitHub (Sep 25, 2019): @liyasthomas WOW SO FAST!!!
Author
Owner

@liyasthomas commented on GitHub (Sep 25, 2019):

@davidyscott please verify that issue has been solved

<!-- gh-comment-id:534838517 --> @liyasthomas commented on GitHub (Sep 25, 2019): @davidyscott please verify that issue has been solved
Author
Owner

@davidyscott commented on GitHub (Sep 25, 2019):

@liyasthomas Verified! Thanks so much! 😁

<!-- gh-comment-id:534843360 --> @davidyscott commented on GitHub (Sep 25, 2019): @liyasthomas Verified! Thanks so much! :grin:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#64
No description provided.