Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# We are calling /add/product endpoint.
# Since this is a creation method, we use POST (in lowercase) as method.
response = make_request('/add/product', 'post', payload)
print(response.status_code, response.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.