-
Notifications
You must be signed in to change notification settings - Fork 5
/
Mapbox_Map Matching.postman_collection.json
100 lines (100 loc) · 2.69 KB
/
Mapbox_Map Matching.postman_collection.json
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
{
"variables": [],
"info": {
"name": "MapBox - Map Matching",
"_postman_id": "f1598e61-957f-c8df-9d13-53e3cf8988c9",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Retrieve a match",
"request": {
"url": {
"raw": "https://api.mapbox.com/matching/v5/mapbox/driving/-117.1728265285492,32.71204416018209;-117.17288821935652,32.712258556224;-117.17293113470076,32.712443613445814;-117.17292040586472,32.71256999376694;-117.17298477888109,32.712603845608285;-117.17314302921294,32.71259933203019;-117.17334151268004,32.71254065549407?access_token={{mapbox_full_access_token}}",
"protocol": "https",
"host": [
"api",
"mapbox",
"com"
],
"path": [
"matching",
"v5",
"mapbox",
"driving",
"-117.1728265285492,32.71204416018209;-117.17288821935652,32.712258556224;-117.17293113470076,32.712443613445814;-117.17292040586472,32.71256999376694;-117.17298477888109,32.712603845608285;-117.17314302921294,32.71259933203019;-117.17334151268004,32.71254065549407"
],
"query": [
{
"key": "access_token",
"value": "{{mapbox_full_access_token}}",
"equals": true,
"description": ""
}
],
"variable": []
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"foo____\",\n \"description\": \"bar\"\n}"
},
"description": ""
},
"response": []
},
{
"name": "Retrieve a match (POST) method",
"request": {
"url": {
"raw": "https://api.mapbox.com/matching/v5/mapbox/driving/?access_token={{mapbox_full_access_token}}",
"protocol": "https",
"host": [
"api",
"mapbox",
"com"
],
"path": [
"matching",
"v5",
"mapbox",
"driving",
""
],
"query": [
{
"key": "access_token",
"value": "{{mapbox_full_access_token}}",
"equals": true,
"description": ""
}
],
"variable": []
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "coordinates",
"value": "-117.1728265285492,32.71204416018209;-117.17288821935652,32.712258556224;-117.17293113470076,32.712443613445814;-117.17292040586472,32.71256999376694;-117.17298477888109,32.712603845608285;-117.17314302921294,32.71259933203019;-117.17334151268004,32.71254065549407",
"description": "",
"type": "text"
}
]
},
"description": ""
},
"response": []
}
]
}