-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleJSONAPI.postman_collection.json
More file actions
39 lines (39 loc) · 1.2 KB
/
SimpleJSONAPI.postman_collection.json
File metadata and controls
39 lines (39 loc) · 1.2 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"info": {
"_postman_id": "8495ee99-d3ee-4bd7-874a-2b3c450bd2fb",
"name": "SimpleJSONAPI",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "http://localhost:8080/SimpleJSONAPIServlet/api",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"income\": [\r\n {\r\n \"value\": \"12.12\",\r\n \"frequency\": \"day\"\r\n },\r\n {\r\n \"value\": \"107.23\",\r\n \"frequency\": \"week\"\r\n },\r\n {\r\n \"value\": \"2869.34\",\r\n \"frequency\": \"month\"\r\n },\r\n {\r\n \"value\": \"34125.45\",\r\n \"frequency\": \"year\"\r\n }\r\n ],\r\n \"expenses\": [\r\n \"120.23\",\r\n \"227.34\",\r\n \"965.45\"\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/SimpleJSONAPIServlet/api",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"SimpleJSONAPIServlet",
"api"
]
},
"description": "Send JSON data to API via POST request"
},
"response": []
}
]
}