Skip to content

Auth Operations #2

@mridulganga

Description

@mridulganga

GET : verify auth exists

curl -i -X GET \
 'https://nisb-auth.herokuapp.com/auth?auth=53cc2c59159f4b83be0ec1eee7905b81'

POST: create new auth (login)

curl -i -X POST \
   -H "Content-Type:application/json" \
   -d \
'{
  "email" : "mridul.kepler@gmail.com",
  "password" : "mridul123"
}' \
 'https://nisb-auth.herokuapp.com/auth'

DELETE : remove auth (logout)

curl -i -X DELETE \
 'https://nisb-auth.herokuapp.com/auth?auth=f72f921bb7de4998a9a59264f64bdcfc'

DELETE (all) : remove all auth (logout from everywhere)

curl -i -X DELETE \
 'https://nisb-auth.herokuapp.com/auth?email=mridul.kepler%40gmail.com&all=True'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions