Sign inSign up

jetbrains/intellij-http-client

Verified Publisher

By JetBrains

•Updated 5 days ago

Official Docker image for IntelliJ HTTP Client CLI

Image
Integration & delivery
API management
18

500K+

jetbrains/intellij-http-client repository overview

JetBrains IntelliJ HTTP Client

This is a Docker image for IntelliJ HTTP Client CLI by JetBrains.

⁠Usage

Image expects /workdir volume. HTTP Client inside container uses /workdir as current working directory, so all paths should be relative to it.

Example command:

$ docker run --rm -i -t -v $PWD:/workdir jetbrains/intellij-http-client \
  -L VERBOSE \
  -e env \
  -v env.json \
  requests.http
⁠Testing services running on the host

In the case of testing services, which are executed on the host machine, it is possible to use -D. This option tells HTTP Client to resolve localhost from the request to localhost of the host machine, instead of container. So, if there is a file test.http with request to localhost:

### Test simple GET
GET http://localhost:8080/my-api/

and service running on the host machine and listening to 8080 port, we can simply test it with docker container using the following command with -D option:

$ docker run --rm -v $PWD:/workdir jetbrains/intellij-http-client -D test.http

Under the hood, HTTP Client resolves localhost to docker.host.internal, which points to localhost of the host machine. You can read this⁠ StackOverflow comment about how to enable host.docker.internal on your OS and what other options for accessing localhost are possible.

⁠Feedback

To file an issue or feature request, please create a ticket in our tracker⁠.

Tag summary

Content type

Image

Digest

sha256:a69390757…

Size

179.9 MB

Last updated

14 days ago

docker pull jetbrains/intellij-http-client

This week's pulls

Pulls:

8,199

Last week