Skip to content

Commit

Permalink
add https instead of http (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos authored Feb 19, 2020
1 parent ae5d6de commit d126d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ from iot_api_client.rest import ApiException
from iot_api_client.configuration import Configuration

# configure and instance the API client
client_config = Configuration(host="http://api2.arduino.cc/iot")
client_config = Configuration(host="https://api2.arduino.cc/iot")
client_config.access_token = YOUR_ACCESS_TOKEN
client = iot.ApiClient(client_config)

Expand Down
2 changes: 1 addition & 1 deletion example/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Now we setup the iot-api Python client, first of all create a
# configuration object. The access token goes in the config object.
client_config = iot.Configuration(host="http://api2.arduino.cc/iot")
client_config = iot.Configuration(host="https://api2.arduino.cc/iot")
client_config.debug = True
client_config.access_token = token.get("access_token")

Expand Down

0 comments on commit d126d6d

Please sign in to comment.