Cellular-Data-Network-Simulator icon indicating copy to clipboard operation
Cellular-Data-Network-Simulator copied to clipboard

CloudShark integration needs to use API token

Open zachad opened this issue 10 years ago • 1 comments

Hi, I'm the lead dev for CloudShark and just came across this project. Thanks so much for the integration! I noticed that you're using an unsupported API to do the uploading to CloudShark. We now require users to log-in before uploading, and provide an API token if you'd like to import directly via curl in this manner.

You may have noticed that CloudShark uploads have stopped working recently.

The offending line: https://github.com/Polidea/Cellular-Data-Network-Simulator/blob/53842f9cc1e87d3a13885a98705fd9eb90c44029/www/cgi-bin/dump#L98

You should switch it to our official API call, and use curl with a PUT as described here: https://support.cloudshark.org/api/upload.html#toc_10

Please do NOT configure a static API token in the github repo. Individual users should sign up for their own private account and configure their own private token after installation.

If you have any questions, we'd be happy to help you out!

zachad avatar Sep 23 '15 14:09 zachad

Thanks @zachad for noticing it. We should be able to fix that soon

wojtekerbetowski avatar Sep 24 '15 13:09 wojtekerbetowski