Skip to content

Commit 3bc1824

Browse files
committed
fix string escape symbols
1 parent 6b2d9cc commit 3bc1824

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/node_js_containers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- name: Post a user
2222
# Send a HTTP POST request to create a user to the mongo DB.
2323
run: |
24-
"curl -X POST http://localhost:3001/api/user -H 'Content-Type: application: application/json' -d '{\"username\": \"hello\", \"address\": \"dwded\"}'"
25-
"curl -X POST http://localhost:3001/api/user -H 'Content-Type: application: application/json' -d '{\"username\": \"hello\", \"address\": \"pluk\"}'"
24+
'curl -X POST http://localhost:3001/api/user -H ''Content-Type: application: application/json'' -d ''{\"username\": \"hello\", \"address\": \"dwded\"}'''
25+
'curl -X POST http://localhost:3001/api/user -H ''Content-Type: application: application/json'' -d ''{\"username\": \"hello\", \"address\": \"pluk\"}'''
2626
- name: Get Users
2727
run: curl http://localhost:3001/api/users
2828

0 commit comments

Comments
 (0)