feat: create basic server to manage google oauth, account, sessions, places, attributes and ratings.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user