Permalink
Cannot retrieve contributors at this time
executable file
5 lines (5 sloc)
674 Bytes
|
#!/bin/bash |
|
curl -X POST -d "{\"name\":\"Tim\"}" -H "Content-Type: application/json" localhost:8080/api/users/create |
|
curl -X POST -d "{\"name\":\"Rob\"}" -H "Content-Type: application/json" localhost:8080/api/users/create |
|
curl -X POST -d "{\"description\":\"Washing up liquid, tuna\", \"title\": \"Shopping List\", \"user_id\": 1, \"categories\": [\"Shopping\", \"Family\"]}" -H "Content-Type: application/json" localhost:8080/api/reminders/create |
|
curl -X POST -d "{\"description\":\"Buy new printer ink cartridges\", \"title\": \"Printer cartridges\", \"user_id\": 1, \"categories\": [\"Shopping\"]}" -H "Content-Type: application/json" localhost:8080/api/reminders/create |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.