Send a POST request with redirected input

httpie

http {{https://example.com}} < {{file.json}}

click the source code to copy