-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathtest_get_current_shared_ride_details
More file actions
86 lines (86 loc) · 3.64 KB
/
Copy pathtest_get_current_shared_ride_details
File metadata and controls
86 lines (86 loc) · 3.64 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
interactions:
- request:
body: null
headers:
X-Uber-User-Agent: [!!python/unicode Python Rides SDK v0.5.0]
method: GET
uri: https://sandbox-api.uber.com/v1.2/requests/current
response:
body: {string: !!python/unicode '{"status":"processing","product_id":"821415d8-3bd5-4e27-9604-194e4359a449","destination":{"latitude":37.775232,"longitude":-122.4197513},"driver":null,"pickup":{"latitude":37.7899886,"eta":1,"longitude":-122.4021253},"request_id":"610d868b-e21c-483a-9932-97e61b852fd2","location":null,"vehicle":null,"shared":false}'}
headers:
connection: [keep-alive]
content-geo-system: [wgs-84]
content-language: [en]
content-length: ['315']
content-type: [application/json]
date: ['Thu, 20 Oct 2016 08:36:28 GMT']
etag: ['"ba4cb7f0193b2e0f8098077c09e82a4aef5cf8a5"']
server: [nginx]
strict-transport-security: [max-age=0]
x-content-type-options: [nosniff]
x-uber-app: [uberex-sandbox, migrator-uberex-sandbox-optimus]
x-xss-protection: [1; mode=block]
status: {code: 200, message: OK}
- request:
body: null
headers:
X-Uber-User-Agent: [!!python/unicode Python Rides SDK v0.5.0]
method: GET
uri: https://sandbox-api.uber.com/v1.2/requests/current
response:
body: {string: !!python/unicode '{"meta":{},"errors":[{"status":404,"code":"no_current_trip","title":"User
is not currently on a trip."}]}'}
headers:
connection: [keep-alive]
content-length: ['105']
content-type: [application/json]
date: ['Thu, 20 Oct 2016 08:41:43 GMT']
server: [nginx]
strict-transport-security: [max-age=0]
x-content-type-options: [nosniff]
x-uber-app: [uberex-sandbox, migrator-uberex-sandbox-optimus]
x-xss-protection: [1; mode=block]
status: {code: 404, message: Not Found}
- request:
body: null
headers:
X-Uber-User-Agent: [!!python/unicode Python Rides SDK v0.5.0]
method: GET
uri: https://sandbox-api.uber.com/v1.2/requests/current
response:
body: {string: !!python/unicode '{"status":"processing","product_id":"26546650-e557-4a7b-86e7-6a3942445247","destination":{"latitude":37.7899886,"longitude":-122.4021253},"driver":null,"pickup":{"latitude":37.775232,"eta":3,"longitude":-122.4197513},"request_id":"0aec0061-1e20-4239-a0b7-78328e9afec8","location":null,"vehicle":null,"shared":false}'}
headers:
connection: [keep-alive]
content-geo-system: [wgs-84]
content-language: [en]
content-length: ['315']
content-type: [application/json]
date: ['Thu, 20 Oct 2016 08:48:12 GMT']
etag: ['"c40a91960498f2fc6ba4e86530d640079cc012b0"']
server: [nginx]
strict-transport-security: [max-age=0]
x-content-type-options: [nosniff]
x-uber-app: [uberex-sandbox, migrator-uberex-sandbox-optimus]
x-xss-protection: [1; mode=block]
status: {code: 200, message: OK}
- request:
body: null
headers:
X-Uber-User-Agent: [!!python/unicode Python Rides SDK v0.5.0]
method: GET
uri: https://sandbox-api.uber.com/v1.2/requests/current
response:
body: {string: !!python/unicode '{"meta":{},"errors":[{"status":404,"code":"no_current_trip","title":"User
is not currently on a trip."}]}'}
headers:
connection: [keep-alive]
content-length: ['105']
content-type: [application/json]
date: ['Thu, 20 Oct 2016 08:49:37 GMT']
server: [nginx]
strict-transport-security: [max-age=0]
x-content-type-options: [nosniff]
x-uber-app: [uberex-sandbox, migrator-uberex-sandbox-optimus]
x-xss-protection: [1; mode=block]
status: {code: 404, message: Not Found}
version: 1