[VSCode] REST Client Extension
In VSCode, install REST Clinet Extension:
Create API_EXAMPLE.http file in root folder:
### Get mock
GET http://localhost:3000/data HTTP/1.1
### Post mock
POST http://localhost:3000/data HTTP/1.1
Content-Type: application/json
{
"name": "John Doe"
}
you can directly send request form the file, and see the result in VSCode