Files
haopengzhan f1909da1ad
Go CI / build (push) Failing after 2m42s
Initial commit
feat: create basic server to manage google oauth, account, sessions, places, attributes and ratings.
2025-09-19 02:43:04 -07:00

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