Skip to content

Commit 51ec1d9

Browse files
authored
docs: Add --fail to curl command (#94)
Using --fail will print an error message if the status-code is one of the 4xx, 5xx variety.
1 parent 6e0e64c commit 51ec1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Access to this compiler is free but available only on request of an API key. The
7171
curl and get an instrumented Wasm module back:
7272

7373
```
74-
curl -F [email protected] https://compiler-preview.dylibso.com/instrument -X POST -H 'Authorization: Bearer <your-api-key>' > code.instr.wasm
74+
curl --fail -F [email protected] https://compiler-preview.dylibso.com/instrument -X POST -H 'Authorization: Bearer <your-api-key>' > code.instr.wasm
7575
```
7676

7777
:key: **You can get an API key by contacting

0 commit comments

Comments
 (0)