import requests
import json
from pprint import pprint

url = "http://api.icndb.com/jokes/random"

payload={}
headers = {
           'Accept': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

cn_response_json = response.json()

print("What are the chances of this being a dirty joke?")
pprint(cn_response_json)


6be81f19e42a9af0a04c5625225e05953c66ef7a
<mask token>

<mask token>
print('What are the chances of this being a dirty joke?')
pprint(cn_response_json)

<mask token>
url = 'http://api.icndb.com/jokes/random'
payload = {}
headers = {'Accept': 'application/json'}
response = requests.request('GET', url, headers=headers, data=payload)
cn_response_json = response.json()
print('What are the chances of this being a dirty joke?')
pprint(cn_response_json)

import requests
import json
from pprint import pprint
url = 'http://api.icndb.com/jokes/random'
payload = {}
headers = {'Accept': 'application/json'}
response = requests.request('GET', url, headers=headers, data=payload)
cn_response_json = response.json()
print('What are the chances of this being a dirty joke?')
pprint(cn_response_json)

import requests
import json
from pprint import pprint

url = "http://api.icndb.com/jokes/random"

payload={}
headers = {
           'Accept': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

cn_response_json = response.json()

print("What are the chances of this being a dirty joke?")
pprint(cn_response_json)

