Skip to content

Commit

Permalink
bike-boxes: adjust calls.http
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Aug 2, 2023
1 parent 861555a commit eecf856
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data-collectors/bike-boxes/calls.http
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@host={{$dotenv ENDPOINT_URI}}
### GET BICINCITTA ACCESS TOKEN
# @name login
POST {{$dotenv ENDPOINT_OAUTH_URI}}
POST {{host}}/connect/token
Content-Type: application/x-www-form-urlencoded

&grant_type=client_credentials
Expand All @@ -19,20 +19,20 @@ Content-Type: application/x-www-form-urlencoded
@language = en

### GET locations
GET {{$dotenv ENDPOINT_URI}}/resources/locations
GET {{host}}/resources/locations
?languageID={{language}}
Authorization: Bearer {{token}}

###

### GET stations
GET {{$dotenv ENDPOINT_URI}}/resources/stations
GET {{host}}/resources/stations
?languageID={{language}}
&locationId=288
Authorization: Bearer {{token}}

### GET stations
GET {{$dotenv ENDPOINT_URI}}/resources/station
GET {{host}}/resources/station
?languageID={{language}}
&stationID=1890
Authorization: Bearer {{token}}

0 comments on commit eecf856

Please sign in to comment.