Skip to content

NSS-IITPatna/NSS-backend

Repository files navigation

NSS-backend

###API details:

api/?Request blood:

  • POST:

    • Name
    • Email
    • ID
    • Email
    • Phone
    • Reciever
    • Address
  • JSON Response:
    {
    status: // Status code returned by the api.
    mail: // If the mail has been sent and/or recorded in the database.
    message: //Any success or error message described here.
    }

###Status codes:  

  • 200 : successful
  • 500 : DB connect error
  • 501 : Could not fetcfh data from DB
  • 502 : Could not update/add/remove data in DB
  • 400 : bad request error/ Invalid Inputs
  • 402 : Duplicate Entry
  • 403 : Access Forbidden/ Unauthorised Access
  • 404 : API Not Found
  • description of error is in the "message of the JSON object"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published