User APIs/Points of Interest (POIs)
Create POI
POST
/user/poisBearer token required
ADMIN | USERContent-Type:
application/jsonRequest Example
JSON
{
"name": "Fuel Station",
"latitude": 28.6139,
"longitude": 77.209,
"address": "Near Connaught Place",
"category": "FUEL"
}Code Examples
curl -X POST 'https://<your-domain>:3001/user/pois' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Fuel Station",
"latitude": 28.6139,
"longitude": 77.209,
"address": "Near Connaught Place",
"category": "FUEL"
}'