Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yingyingshang/fake-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fake-api-server

https://github.com/executeautomation/fake-api-jwt-json-server

GET: http://localhost:3000/posts/7

Headers Content-Type:application/json Authorization:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6IkthcnRtY2FkQGdtYWlsLmNvbSIsInBhc3N3b3JkIjoiaGFoYTEyMyIsImlhdCI6MTYwNTc1NjkzOSwiZXhwIjoxNjA1NzYwNTM5fQ.EwVOMoB0TfPD4QmkyRwz_ghjk2UwUcwTfENMVHPzkyM

result: 404 Pending resolve

Resolution: update the router from database.json to db.json

POST: http://localhost:3000/auth/login Body: JSON { "email":"[email protected]", "password":"haha123" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published