Is there a support for client POST with pure json data?
See original GitHub issueIn the same way as this clj-http does with this snippet
(clj-http.client/post { :body "{\"json\": \"input\"}" })
Seems like neither query-params nor form-params can be used for that.
Issue Analytics
- State:
- Created 10 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to Generate/Send JSON Data at the Client Side
How to Generate/Send JSON Data at the Client Side ?
Read more >Sending and Receiving JSON using HttpClient with System ...
In this post, I introduce System.Net.Http.Json for sending and recieveing JSON content to external services using HttpClient in .NET.
Read more >JSON POST request with Postman - YouTube
In this video, I will show you how to create a simple POST request with Postman and send JSON. The endpoint used here...
Read more >How do I send a POST request using JavaScript? - ReqBin
This new API provides a more powerful and flexible set of features than the XMLHttpRequest object. The Fetch API makes extensive use of...
Read more >Replace RESTful APIs with JSON-Pure - Michael S. Mikowski
That means that at least on the browser client, we will be using JSON.parse() and JSON.stringify() to parse and send the data respectively....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For anyone else that runs across this issue, you have to add a
Content-Typeheader for this to work with most servers…I solved this problem earlier today by leveraging https://github.com/clojure/data.json to encode the body
Hope this helps somebody 😀