-
Notifications
You must be signed in to change notification settings - Fork 0
Visual Studio Code
baltasarb edited this page Jul 28, 2018
·
2 revisions
The file should be saved with the http extension: fileName.http.
Select text and press Ctrl + Alt + R or press the send request button to execute a request.
Get request with basic authentication
GET http://localhost:8080/user
Content-Type: aplication/json
Accept: application/json
Authorization: Basic YmFsdGFzYXJiOjEyMw==
Post Json
POST http://host/path
Content-Type: application/json
Accept: application/json
{
"field1": "f1",
"field2": "f2"
}