Browse Source

[docs] fix

Signed-off-by: Muthu Kumar <muthukumar@thefeathers.in>
master
Muthu Kumar 4 years ago
parent
commit
f2a1626f53
Signed by: mkrhere GPG Key ID: 3FD688398897097E
  1. 9
      README.md

9
README.md

@ -1,5 +1,7 @@
# Routes # Routes
---
## POST `/register` ## POST `/register`
### Request type: `application/json` ### Request type: `application/json`
@ -13,6 +15,8 @@
- success: `boolean` - success: `boolean`
- msg: `string` (if success false) - msg: `string` (if success false)
---
## POST `/user` ## POST `/user`
### Request type: ``application/json`` ### Request type: ``application/json``
@ -26,6 +30,8 @@
- msg: `string` (if success false) - msg: `string` (if success false)
- token: `string` - token: `string`
---
## GET `/search/:query` ## GET `/search/:query`
### Headers: ### Headers:
@ -41,6 +47,8 @@
- poster: `string` - poster: `string`
- release: `string` - release: `string`
---
## GET `/movie/:movieId` ## GET `/movie/:movieId`
### Headers: ### Headers:
@ -58,6 +66,7 @@
- watchStatus: `undefined|string` - watchStatus: `undefined|string`
- rating: `undefined|string` - rating: `undefined|string`
---
## POST `/movie/:movieId` ## POST `/movie/:movieId`

Loading…
Cancel
Save