import requests
import json


url = 'http://localhost:8000/api/v1/goods/'
data = {
    "title": "Cheese",
    "description": "Best. Cheese. Ever",
    "price": 10
    }
headers = {
    'Content-Type': 'application/json',
    'Authorization': 'bG9naW46cGFzc3dvcmQ='
}
response = requests.post(url=url, json=data, headers=headers)
print(response.text)
print(response.status_code)
91bf47d4799a18cd3d78342c5bdb2c8a79d64964
<mask token>

<mask token>
print(response.text)
print(response.status_code)

<mask token>
url = 'http://localhost:8000/api/v1/goods/'
data = {'title': 'Cheese', 'description': 'Best. Cheese. Ever', 'price': 10}
headers = {'Content-Type': 'application/json', 'Authorization':
    'bG9naW46cGFzc3dvcmQ='}
response = requests.post(url=url, json=data, headers=headers)
print(response.text)
print(response.status_code)

import requests
import json
url = 'http://localhost:8000/api/v1/goods/'
data = {'title': 'Cheese', 'description': 'Best. Cheese. Ever', 'price': 10}
headers = {'Content-Type': 'application/json', 'Authorization':
    'bG9naW46cGFzc3dvcmQ='}
response = requests.post(url=url, json=data, headers=headers)
print(response.text)
print(response.status_code)

import requests
import json


url = 'http://localhost:8000/api/v1/goods/'
data = {
    "title": "Cheese",
    "description": "Best. Cheese. Ever",
    "price": 10
    }
headers = {
    'Content-Type': 'application/json',
    'Authorization': 'bG9naW46cGFzc3dvcmQ='
}
response = requests.post(url=url, json=data, headers=headers)
print(response.text)
print(response.status_code)