Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import requests
  2.  
  3. headers = {
  4. 'accept': 'application/x-www-form-urlencoded',
  5. }
  6.  
  7. data = {
  8. 'modelId': '4c4cc949-122c-44f8-bed0-b6fa8b56a288',
  9. 'urls': 'https://goo.gl/ICoiHc'
  10. }
  11.  
  12. response = requests.post('https://app.nanonets.com/api/v2/ImageCategorization/LabelUrls/', headers=headers, data=data, auth=('XGXt4v0JeN0DqPJ3d06pFizro1IGbV1JKhVYojIGice', ''))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement