how to call rest api

hi,

login process after how to call rest api

I would suggest writing a NodeJs application which uses ExpressJS for the HTTP REST API endpoints.



Return a welcome page on this route: HTTP GET - /


Return a welcome page on this route: HTTP GET - /home


Send values in the body of a HTTP request which is resloved at this API endpoint: HTTP POST - /login

-- body contains JSON payload: { username: me@domin.com, password: my-password }


Hope that points you in the right direction...

Berni

how to call rest api
 
 
Q