# import requests
# import json
# dataString = {'make':'Ford','model':'Kuga'}
# url = 'http://127.0.0.1:5000/cars'
# # update the string to the url using PUT
# response = requests.put(url, json=dataString)
# print (response.status_code)
# print (response.text)

import requests
import json
dataString = {'make':'Ford','model':'Kuga'}
url = 'http://127.0.0.1:5000/cars/test'
response = requests.put(url, json=dataString)
print (response.status_code)
print(response.text)