This week I had a problem with Azure Devops, specifically with the Microsoft hosted-agents. They offer a lot of OS, but poor resources to debug them. I was trying to take a screenshot, but they only offer this with MSTest framework.

So, my next try was to use pastebin.com, but they need token and some authentication stuff. Then I found sprunge, which only accept text, but you can convert images while posting. Here some examples:

cat file | curl -F 'sprunge=<-' http://sprunge.us
=> http://sprunge.us/aXZI

Storing image

# server side
screencapture test.jpg
uuencode foo.jpg < test.jpg | curl -F 'sprunge=<-' http://sprunge.us
=> http://sprunge.us/example

# client side
curl http://sprunge.us/example | uuencode
=> foo.jpg

No authentication, just curl. And you can use other tools than uuencode.