Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 127: unexpected end of data
  2.  
  3. response = requests.post('LINK-TO-API', headers=headers, data=data)
  4. result = ""
  5. for i in response:
  6. result += i.decode('utf-8')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement