-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAPI-REST Meli Challenge.postman_collection.json
More file actions
158 lines (158 loc) · 4.24 KB
/
Copy pathAPI-REST Meli Challenge.postman_collection.json
File metadata and controls
158 lines (158 loc) · 4.24 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"info": {
"_postman_id": "6ae76ace-8d70-4d5e-a530-0ec629969160",
"name": "API-REST Meli Challenge",
"description": "## Request Colection for API REST Meli Challenge\n\n**Consideraciones importantes:**\n\nPara ejecutar las request que dicen \"Local\" debe descargar previamente la API REST desde StartFragment\n\n[Mgobeaalcoba/api_rest_meli_challenge_public: REST API produced for the Meli Challenge: \"Operation Quasar Fire\" (github.com)](https://github.com/Mgobeaalcoba/api_rest_meli_challenge_public)\n\nEndFragment\n\nUna vez instalada, debe encender el servidor ejecutando el archivo main.kt para poder pegarle a cualquiera de los tres endpoints.\n\nPara pegarle a cualquier de los endpoints que dicen Hosting en el nombre de la reques esto no es necesario dado que la API está hosteada en Google Cloud y se encuentra encendida de forma permanente.\n\nDev: Mariano Gobea Alcoba [gobeamariano@gmail.com](gobeamariano@gmail.com)",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "22590678"
},
"item": [
{
"name": "POST Hosting a topsecret",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n\"satellites\": [\n{\n\"name\": \"kenobi\",\n\"distance\": null,\n\"message\": [\"\", \"\", \"\", \"mensaje\", \"\"] },\n{\n\"name\": \"skywalker\",\n\"distance\": 215.5,\n\"message\": [\"\", \"es\", \"\", \"\", \"secreto\"] },\n{\n\"name\": \"sato\",\n\"distance\": 342.7,\n\"message\": [\"este\", \"\", \"un\", \"\", \"\"] }\n]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://35.202.30.49:8080/topsecret",
"protocol": "http",
"host": [
"35",
"202",
"30",
"49"
],
"port": "8080",
"path": [
"topsecret"
]
}
},
"response": []
},
{
"name": "POST Local a topsecret",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n\"satellites\": [\n{\n\"name\": \"kenobi\",\n\"distance\": null,\n\"message\": [\"\", \"\", \"\", \"mensaje\", \"\"] },\n{\n\"name\": \"skywalker\",\n\"distance\": 215.5,\n\"message\": [\"\", \"es\", \"\", \"\", \"secreto\"] },\n{\n\"name\": \"sato\",\n\"distance\": 342.7,\n\"message\": [\"este\", \"\", \"un\", \"\", \"\"] }\n]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:8080/topsecret",
"host": [
"localhost"
],
"port": "8080",
"path": [
"topsecret"
]
}
},
"response": []
},
{
"name": "POST Local a topsecret_split",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n\"distance\": 557.0,\r\n\"message\": [\"\", \"\", \"\", \"mensaje\", \"\"] \r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/topsecret_split/:satellite_name",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"topsecret_split",
":satellite_name"
],
"variable": [
{
"key": "satellite_name",
"value": "sato000"
}
]
}
},
"response": []
},
{
"name": "POST Hosting a topsecret_split Copy",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n\"distance\": 557.0,\r\n\"message\": [\"\", \"\", \"\", \"mensaje\", \"\"] \r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://35.202.30.49:8080/topsecret_split/:satellite_name",
"protocol": "http",
"host": [
"35",
"202",
"30",
"49"
],
"port": "8080",
"path": [
"topsecret_split",
":satellite_name"
],
"variable": [
{
"key": "satellite_name",
"value": "sato000"
}
]
}
},
"response": []
},
{
"name": "GET Local a topsecret_split",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "GET Hosting a topsecret_split Copy",
"request": {
"method": "GET",
"header": []
},
"response": []
}
]
}