f1909da1ad
Go CI / build (push) Failing after 2m42s
feat: create basic server to manage google oauth, account, sessions, places, attributes and ratings.
16 lines
404 B
Bash
16 lines
404 B
Bash
echo $STOKEN
|
|
curl -X POST \
|
|
-H "Authorization: $STOKEN" \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"name": "My Awesome New Place",
|
|
"category": "Restaurant",
|
|
"address": {
|
|
"street": "456 Oak Ave",
|
|
"city": "Newtown",
|
|
"state": "NY",
|
|
"zip": "10001",
|
|
"country": "USA"
|
|
}
|
|
}' \
|
|
http://localhost:3001/api/places |