is it possible to run a .http file from the command line

Answered

The requests files (.http) are convenient during development and debugging, but I'm looking for a way to use them also in automated tests.

is there a way to run them from the command line without the full IDE? (either using a intelij tool or by 3rd party) 

1
4 comments

There's no way to do that at the moment, but it's a popular feature request: https://youtrack.jetbrains.com/issue/WI-42002

Please vote, feel free to comment.

1

it will be nice in our case it's being used manually to test mock services in mock project but would be nice to execute and validate statuses from command line after the build

0

This is a third-party tool, but perhaps you may find HTTPie cli tool useful: https://httpie.io/cli

1

Please sign in to leave a comment.