covidarmy / backend

The Backend for COVID Army
6 stars 3 forks source link

Implement `Fraud` Endpoints #105

Closed SwarnimWalavalkar closed 3 years ago

SwarnimWalavalkar commented 3 years ago

POST api/fraud

Headers:

required: Authorization: <>

Request Query:

required: phone_no : String

Responses: 201 OR 400 OR 401 OR 500

GET api/fraud/

Responses: 200: an Array of fraud number

GET api/fraud/{phone_no}

Responses: 200 A boolean representing whether a number is fraudulent 500