-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.http
More file actions
26 lines (21 loc) · 823 Bytes
/
Copy pathtests.http
File metadata and controls
26 lines (21 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET http://localhost:8080/individuals
Accept: application/json
###
GET http://localhost:8080/individuals/123-456-789-01
Accept: application/json
###
GET http://localhost:8080/individuals/status
Accept: application/json
###
POST http://localhost:8080/individuals
Content-Type: application/json
{"name": "Panin Pes Pavlovich",
"snils": "000-000-000-00",
"dateBirth": "12.12.2018"}
###