Skip to content

Commit 096c2ce

Browse files
author
wlanboy
committed
update for curl command
1 parent 74f2d02 commit 096c2ce

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ Spring based rest service to test http routes
1414
* https://hub.docker.com/r/wlanboy/javahttpclient
1515

1616
# test java http client
17-
* curl
18-
--location
19-
--request POST 'http://127.0.0.1:8080/client' \
20-
--header 'Content-Type: application/json' \
21-
--data-raw '{
22-
"url" : "https://github.com",
23-
"copyHeaders": "false"
24-
}'
17+
```bash
18+
curl -L -X POST 'http://127.0.0.1:8080/client' -H 'Content-Type: application/json' \
19+
-d '{"url" : "https://github.com", "copyHeaders": "false"}'
20+
```

0 commit comments

Comments
 (0)