Posts by Johannes de Silentio • 96 points
2 posts
-
6
votes5
answers8944
viewsA: What is an SDK?
TL;DR: A library can be part of an SDK but not all SDK is just a library. An SDK is like a chest. Inside an SDK you will find, in general, several items. For example: Libraries Documentation…
-
2
votes1
answer1118
viewsA: Typeerror: POST data should be bytes, an iterable of bytes, or a file Object. It cannot be of type str
Try this code: from urllib.request import Request, urlopen values = """ { "exchange_code": "PLNX", "exchange_market": "BTC/USDT" } """ headers = { 'Content-Type': 'application/json', 'X-API-KEY':…