Kevin B. Linux Engineer. Pilot.

Uploading to Firefox Send with Python

I saw Firefox Send pop up on HackerNews the other day and thought it was pretty interesting. I uploaded and downloaded a few small image files and then had the bright idea that it'd be cool to use Python to upload/download files from Send. This led me down a bit of a rabbit hole, similar to the way the author of this article got sucked into the Starbucks API.

If you'd like to follow along locally, the referenced image, frame00.png, is from Google's Clojure-Turtle repository.

The first things I looked at after uploading a file were the request headers

Continue reading