Created
December 28, 2017 12:40
-
-
Save prisync/61b24502397c9c8d4e5487e5eefac827 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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