How can I send an http post request with properties, in the body or in headers?
See original GitHub issueDescribe the bug
How can I send an http post request with properties, in the body or in headers?
I don’t know what the correct syntax is to be able to send properties in the “Send Http request”. or if it is possible or not, since when I put the properties in the body the json validator does not pass and in headers it returns an error. Is it possible to remove the json validator to allow the reference of properties?
Version
Browser
- Chrome
OS
- Windows
To Reproduce
Steps to reproduce the behavior:
- Create a property
- Set it with some value.
- Try to reference that property from “Send http request” from the body or headers
Expected behavior
Screenshots
Additional context
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
POST - HTTP - MDN Web Docs
The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header....
Read more >How are parameters sent in an HTTP POST request?
POST, in accordance to spec, MUST serve non-idempotent requests, but you can use request body (which is segregated from Headers by ONE empty ......
Read more >How to Send Headers With an Axios POST Request
Here's how you can set headers on an HTTP POST request with Axios. ... first parameter is the URL, the 2nd parameter is...
Read more >Making a JSON POST Request With HttpURLConnection
In this tutorial, we'll demonstrate how to make a JSON POST request using HttpURLConnection. Further reading: Do a Simple HTTP Request in Java....
Read more >HTTP Request Methods – Get vs Put vs Post Explained with ...
We use POST to create a new resource. A POST request requires a body in which you define the data of the entity...
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 FreeTop 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
Top GitHub Comments
@MunozVictor oh, I am really sorry, I missed the quotes in my reply. could you try this:
{"username": "${user.property}" }
Note: I used Post instead of Get. The problem continued.
Barış Çoruh barislg54@gmail.com, 9 Ara 2020 Çar, 12:45 tarihinde şunu yazdı: