Skip to content

Commit 1271766

Browse files
committed
add backslashes; tutorial-loading-data-using-the-api
1 parent 51aed3b commit 1271766

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/getstarted/tutorials/tutorial-loading-data-using-the-api.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ Each line in the script has a curl statement like the one below.
5959
<summary>Click to expand the code block</summary>
6060
```bash
6161
#Add a Building
62-
curl -i -H "Accept: application/json"
63-
-X POST
64-
-d "name=New Haven DC"
65-
-d "address=123 main st"
66-
-d "contact_name=roger"
67-
-d "contact_phone=1234567890"
68-
-d "notes=super critical"
69-
-u $USER:$PASS
70-
$URL/api/1.0/buildings/
62+
curl -i -H "Accept: application/json" \
63+
-X POST \
64+
-d "name=New Haven DC" \
65+
-d "address=123 main st" \
66+
-d "contact_name=roger" \
67+
-d "contact_phone=1234567890" \
68+
-d "notes=super critical" \
69+
-u $USER:$PASS \
70+
$URL/api/1.0/buildings/ \
7171
--insecure
7272
```
7373
</details>

0 commit comments

Comments
 (0)