vector
vector copied to clipboard
Set up header requirement for the payload sent to `http_server` inputs
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
http_server should have a feature when any client calling the server should have a header if not it will return a error code and not accept the payload.
eg: if I set content-type: application/json then any client calling the http_server should have this in the request, else it will return a error code