Skip to content

Commit ddda893

Browse files
committed
fixing curls
1 parent d5dcd9c commit ddda893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/cli-v2/getting-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ helix push dev
6666
<Step title="Test connection">
6767
**Create a user**
6868
```bash
69-
curl -X POST http://localhost:6969/createUser -d '{"name": "John Doe", "email": "[email protected]"}'
69+
curl -X POST http://localhost:6969/createUser -H 'Content-Type: application/json' -d '{"name": "John Doe", "email": "[email protected]"}'
7070
```
7171

7272
**Get a user**
7373

7474
```bash
75-
curl -X POST http://localhost:6969/getUser -d '{"name": "John Doe"}'
75+
curl -X POST http://localhost:6969/getUser -H 'Content-Type: application/json' -d '{"name": "John Doe"}'
7676
```
7777

7878
</Step>

0 commit comments

Comments
 (0)