question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The GET request contain the body of the payload

See original GitHub issue
  1. Newman Version (can be found via newman -v): v3.2.0
  2. OS details (type, version, and architecture): Windows 7
  3. Are you using Newman as a library, or via the CLI? CLI
  4. Did you encounter this recently, or has this bug always been there: Maybe always
  5. Expected behaviour: Status 200 Code Name OK
  6. Command / script used to run Newman: newman run file.json
  7. Sample collection, and auxiliary files (minus the sensitive details): Any
  8. Screenshots (if applicable): No needed

Steps to reproduce the problem:

  1. Add payload body as POST in the Postman Client App
  2. Change to GET
  3. Save the collection
  4. Run newman
  5. The GET request contain the body of the raw payload in JSON

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
czardozcommented, Nov 11, 2016

This is because the client app currently saves GET request bodies to the collection.

We are currently in the process of updating our Native apps to properly support bodies in GET requests. When we do that, you will be able to remove bodies from the “Body” tab of Postman.

For now, one workaround is to change the method from GET to POST in the Postman App, remove the body and save the request.

0reactions
ajsb85commented, May 15, 2017

Thank you very much

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP GET with request body - Stack Overflow
A payload within a GET request message has no defined semantics; sending a payload body on a GET request might cause some existing...
Read more >
GET - HTTP - MDN Web Docs
It is better to just avoid sending payloads in GET requests. Request has body, No. Successful response has body, Yes. Safe, Yes. Idempotent,...
Read more >
Request bodies in GET requests - Evert Pot
A payload within a GET request message has no defined semantics ... any HTTP request message is allowed to contain a message body, ......
Read more >
REST API - HTTP GET with Request Body - Roy Tutorials
Request body is also known as payload of the request. I will also discuss about idempotent and safe http methods. Generally payload in...
Read more >
Should you send a payload in an HTTP GET request? - LinkedIn
It is a common myth that we could not pass the request body in the HTTP GET request. HTTP 1.1 specification neither enforces...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found