Skip to content

Commit 036e39c

Browse files
committed
docs: add section on JetBrains’ HTTP client
Signed-off-by: Sebastian Davids <[email protected]>
1 parent 844a161 commit 036e39c

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

README.adoc

+17
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,23 @@ Open:
335335

336336
* link:api/api.paw[RapidAPI Project]
337337

338+
===== JetBrains IDEs
339+
340+
Install and enable the https://plugins.jetbrains.com/plugin/13121-http-client[HTTP Client] plugin.
341+
342+
Open:
343+
344+
* link:api/api.http[HTTP requests file]
345+
346+
use with the `local` or `local-secure` environments defined in:
347+
348+
* link:api/http-client.private.env.json[HTTP environment file]
349+
350+
====== More Information
351+
352+
* https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html#run_request[Execute HTTP requests]
353+
* https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html#disable_certificate_verification[Disable certificate verification]
354+
338355
== Build Tasks
339356

340357
=== Development

api/api.http

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Random User
2+
GET {{host}}:{{port}}/
3+
Accept: application/json
4+
5+
### Liveness Probe
6+
GET {{host}}:{{port}}/-/health/liveness
7+
Accept: application/json

api/http-client.private.env.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"local": {
3+
"host": "http://localhost",
4+
"port": "3000"
5+
},
6+
"local-secure": {
7+
"host": "https://localhost",
8+
"port": "3000",
9+
"SSLConfiguration": {
10+
"verifyHostCertificate": false
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)