# import functions from the request library
import requests, json

#r = requests.get('url',auth=('user','pass'))

r = requests.get('http://0.0.0.0:8080/api/devices')

print("print r\n", r)
print("\nprint r.status_code\n", r.status_code)
print("\nprint r.headers\n", r.headers)
print("\nprint r.headers['content-type']\n", r.headers['content-type'])
print("\nprint r.text\n", r.text)

0d389cdb088e6a5ba1f7cdae37b7dcdd35cd554d
<mask token>

<mask token>
print('print r\n', r)
print("""
print r.status_code
""", r.status_code)
print("""
print r.headers
""", r.headers)
print("""
print r.headers['content-type']
""", r.headers['content-type'])
print('\nprint r.text\n', r.text)

<mask token>
r = requests.get('http://0.0.0.0:8080/api/devices')
print('print r\n', r)
print("""
print r.status_code
""", r.status_code)
print("""
print r.headers
""", r.headers)
print("""
print r.headers['content-type']
""", r.headers['content-type'])
print('\nprint r.text\n', r.text)

import requests, json
r = requests.get('http://0.0.0.0:8080/api/devices')
print('print r\n', r)
print("""
print r.status_code
""", r.status_code)
print("""
print r.headers
""", r.headers)
print("""
print r.headers['content-type']
""", r.headers['content-type'])
print('\nprint r.text\n', r.text)

# import functions from the request library
import requests, json

#r = requests.get('url',auth=('user','pass'))

r = requests.get('http://0.0.0.0:8080/api/devices')

print("print r\n", r)
print("\nprint r.status_code\n", r.status_code)
print("\nprint r.headers\n", r.headers)
print("\nprint r.headers['content-type']\n", r.headers['content-type'])
print("\nprint r.text\n", r.text)
