fixed a formatting issue
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
6e106dbc2c
commit
7453d9144b
|
@ -312,12 +312,12 @@ And then hit Execute:
|
||||||
|
|
||||||
Of course, you can issue the same command in your shell:
|
Of course, you can issue the same command in your shell:
|
||||||
|
|
||||||
`
|
```
|
||||||
curl -X 'GET' \
|
curl -X 'GET' \
|
||||||
'https://ns1.24unix.net/api/ping' \
|
'https://ns1.24unix.net/api/ping' \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H 'X-API-Key: 61f27a57c9d1f.[truncated]'
|
-H 'X-API-Key: 61f27a57c9d1f.[truncated]'
|
||||||
`
|
```
|
||||||
|
|
||||||
A helpful tool when dealing with API is [Postman](https://https://www.postman.com/), if offers the same options as from the OpenAPI interface or via shell with curl.
|
A helpful tool when dealing with API is [Postman](https://https://www.postman.com/), if offers the same options as from the OpenAPI interface or via shell with curl.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue