Skip to content

Commit 0ada128

Browse files
authored
Merge pull request #923 from logzio/fix-curl-doc
2 parents c5432cd + a35b943 commit 0ada128

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/shipping/Other/curl.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ cURL is a command line utility for transferring data, useful for testing configu
2626
2. To send a single text log line using cURL, use the following command. This sends your message as a JSON payload:
2727

2828
```shell
29-
curl --location 'https://listener.logz.io:8071?token=<<SHIPPING_TOKEN>>&type=text' \
29+
curl --location 'https://<<LISTENER-HOST>>:8071?token=<<LOG-SHIPPING-TOKEN>>&type=text' \
3030
--header 'Content-Type: application/json' \
31-
--data '{"<<test>>": "<<support>>"}'
31+
--data '{"<<FIELD>>": "<<VALUE>>"}'
3232
```
3333

34-
Replace `<<SHIPPING_TOKEN>>` with your account's shipping token.
34+
Replace `<<LOG-SHIPPING-TOKEN>>` with your account's shipping token.
3535

3636
:::note
3737
The request body is a list of logs in minified JSON format, with each log separated by a newline `(\n)`.
@@ -114,4 +114,4 @@ Encounter an issue? See our [log shipping troubleshooting](https://docs.logz.io/
114114
115115
116116
117-
117+

0 commit comments

Comments
 (0)