Oh my goodness! I was close! I got it all working now. I'll have to make a post or something to share the project i'm working on, I think its kinda neat.
Thanks so much Arkasha
Search found 2 matches
Uploading from requests library in python
url = 'https://api.wigle.net/api/v2/file/upload' data = {'file': (outfile, 'multipart/form-data', {'Expires': '0'})} response = requests.post(url, files=data, headers={'Authorization': 'Basic blahblahblah'}) print(" ") response = response.text print(response) (sry for bad formatting not sure how to ...