Skip to content

Commit c025176

Browse files
committed
Add troubleshooting variation for PUT
1 parent 3e7641c commit c025176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/chaos-studio/chaos-studio-samples-rest-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ az rest --method get --url "https://management.azure.com/{experimentId}?api-vers
112112
az rest --method put --url "https://management.azure.com/{experimentId}?api-version={apiVersion}" --body @{experimentName.json}
113113
```
114114

115+
Note: if you receive an `UnsupportedMediaType` error, make sure your referenced JSON file is valid, and try other ways to reference the `.json` file. Different command-line interpreters may require different methods of file referencing. Another common syntax is `--body "@experimentName.json"`.
116+
115117
### Delete an experiment
116118

117119
```azurecli

0 commit comments

Comments
 (0)