The main URL
for the API is :
https://1aksik8wwi.execute-api.ap-south-1.amazonaws.com/dev
Police and Police Station Data
In the HTTP header you need to pass this 👇
{
"x-api-key" : PUT YOUR API KEY // put this in env
}
`For API key to test the endpoints you can reach out to me. 😉
Body
{
"number" : "BR31L2411",
"policeStation" : "Belghoria Police Station",
"location": "Test location"
}
Will return empty object
Body
{
"title": "This is a message",
"description": "This is a description of a message",
"topicName" : "Belghoria Police Station",
"carNumber" : "BR31L2411"
}
Return :
{
"statusCode": 200,
"body": "{\"success\":\"Push notification sent\"}"
}