Skip to content

errysatrio/GroupProjectW1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GroupProjectW1

restful API

kami memberikan beberapa bentuk rest API dengan menggunakan ENDPOINT

http://localhost:4000 ​ dalam pembtan web ini digunakan API dari 3 endpoint yaitu :

  1. financialpreparingmodel
  2. sjfnas
  3. asljkd ​ METHOD: POST ​
METHOD PARAMS RETURNING OPTIONS DETAILS FORMAT
POST /users/register User 'TOKEN' body must filled (Name, Username, Email, Password) -
POST /users/login User 'TOKEN' body must filled (Username or Email, Password) -
POST /users/stocks Stocks DATA headers must filled User's 'TOKEN' application/JSON
POST /users/google_login User 'TOKEN' - - -

​ METHOD: GET ​ ​

METHOD PARAMS RETURNING OPTIONS DETAILS FORMAT
GET /users User DATA headers must filled User's 'TOKEN' application/JSON
GET /users/stocks User's Stocks Lists headers must filled User's 'TOKEN' application/JSON
GET /stocks All Stocks Lists headers must filled User's 'TOKEN' application/JSON

​ ​ METHOD: PUT

METHOD PARAMS RETURNING OPTIONS DETAILS FORMAT
PUT /users update User's DATA body must be filled Username or Email, Password application/JSON

​ ​ ​ METHOD: DELETE

METHOD PARAMS RETURNING OPTIONS DETAILS FORMAT
DELETE /users/stocks/:id Removing User's Stock DATA headers must filled User's 'TOKEN' TRUE / FALSE

​ ​ ​ ​ for further detail you can see the response on the link below

click here ​ ​

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors