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.

Is possible send raw post payload

See original GitHub issue

… w/o escaping and another magic

Is it really?

Under option like --raw-payload

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

35reactions
jakubroztocilcommented, May 14, 2015

Yes, any data passed in via STDIN will be sent as the request body, e.g.:

$ echo 'raw payload' | http httpbin.org/post

https://github.com/jakubroztocil/httpie#redirected-input

7reactions
henrik242commented, Jan 27, 2017

You can also use http httpbin.org/post <<< 'raw payload'

Read more comments on GitHub >

github_iconTop Results From Across the Web

What key is used for raw HTTP POST body? - Stack Overflow
As far my experience has been, there is always a key that pairs a value (like key-value pair) in the POST body.
Read more >
Raw data into the body of a post request - Questions - n8n
So I would like to put the body content type in “raw” but let the headers in json, or setup them in “raw”...
Read more >
Quickstart — Requests 2.28.1 documentation
Quickstart¶. Eager to get started? This page gives a good introduction in how to get started with Requests. First, make sure that: Requests...
Read more >
How to Send a Raw Data Body to an Axios Request in React ...
If you are new to the topic, here is a prior tutorial on React Native. In this article, we will see how we...
Read more >
Request data via --raw - HTTPie 3.2.1 (latest) docs
In a situation when piping data via stdin is not convenient (for example, when generating API docs examples), you can specify the raw...
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