Search found 4 matches

Sat Jul 16, 2022 4:32 am
Replies: 10
Views: 46279

Re: Posting file via cURL

NVM that worked... must have been a network issue.
Fri Jul 15, 2022 8:46 am
Replies: 10
Views: 46279

Re: Posting file via cURL

You need the @ symbol even with full path. curl -i -H Accept:application/json -u <api name>:<api token> --basic -F file=@/home/hal/.kismet/logs/active/Kismet-20220715-08-06-07-1.wiglecsv -F donate=true https://api.wigle.net/api/v2/file/upload HTTP/1.1 400 Bad Request Server: nginx/1.20.0 Date: Fri,...
Sat Jun 06, 2020 12:03 pm
Replies: 10
Views: 46279

Re: Posting file via cURL

What file did you try to upload?
It was a CSV file from the kismetdb_to_wiglecsv command.

I omitted the @ symbol and used the full path for the file option.
Mon Jun 01, 2020 9:17 pm
Replies: 10
Views: 46279

Re: Posting file via cURL

Since the old API is now gone, here's how to post a file using the new one via curl: curl -i -H 'Accept:application/json' -u <token> --basic -F file=@./<filename> -F donate=true https://api.wigle.net/api/v2/file/upload I tried that and I get the following: HTTP/1.1 200 OK Server: nginx/1.16.1 Date:...

Go to advanced search