I want to send <MYURL>/myaddres?path=<MYPATH>&content=<MYCONTENT>
to a service with editor based REST client in IntelliJ, but take the content of <MYCONTENT>
from a file.
Is it possible?
I want to send <MYURL>/myaddres?path=<MYPATH>&content=<MYCONTENT>
to a service with editor based REST client in IntelliJ, but take the content of <MYCONTENT>
from a file.
Is it possible?
Yes, you should type the <
symbol followed by the path to the file:POST
POST http://example.com:8080/api/html/post
Content-Type: application/json
< ./input.json
More info: https://www.jetbrains.com/help/idea/exploring-http-syntax.html#provide-request-body
© 2022 - 2024 — McMap. All rights reserved.