# Working With api
### REGISTER
* API used https://admin.bharatrath.com/register
* Did Post request on it
* Status was 200OK
* When again did with same credentials
* Got 422 Unprocessable Entity.
### LOGIN
* API used https://admin.bharatrath.com/login
* Did Post request on it
* Status was 200 OK successfully logged in.
### CART
* API used https://admin.bharatrath.com/api/cart/v1
* Did Post request on it
* Status was 200 OK success.
### ADDING ADDRESS
* API used https://admin.bharatrath.com/api/addresses
* Did Post request on it and for authentication passed JSON WEB TOKEN in Header
* Status was 200 Ok
* Attached Screenshot of addresss in google drive link.
### ORDER PLACED
* API used https://admin.bharatrath.com/api/confirm/order
* Did Post request on it and for authentication passed JSON WEB TOKEN in Header
* Status was 200 Ok order successfully placed
* Attached Screenshot of the order placed in google drive link.
### COLLECTIONS
https://www.getpostman.com/collections/ed3f75be4a0a949c65b6
### RESPONSES
https://drive.google.com/drive/folders/1Y7QirimEFAar3sdg7TGmqmW36B9wFEHk?usp=sharing
https://www.getpostman.com/collections/ed3f75be4a0a949c65b6