A CloudShot plugin to upload the screenshot to a generic HTTP API
Built on example plugin for CloudShot version 6.3.x
- Download and install CloudShot from https://cloudshot.com/download.html
- Copy
HttpApiUploadPlugin.dll
from the latest release to%USERPROFILE%/Documents/CloudShot/Plugins/HttpApiUploadPlugin
folder. When updating the plugin with newer version, close CloudShot first. - Restart CloudShot. You should see HTTP API Upload item in Settings and also in Editor as a destination for screenshots upload.
This plugin sends a simple multipart HTTP POST request to the URL specified in plugin settings.
The only field in the request is dataurl
with Base64-encoded image contents.
Accept header of the request is text/plain
.
The plugin expects a 2xx
response of text/plain
Content-type with the URL of the uploaded result. On other HTTP status codes
an error message is shown.
The URL of the request result is then copied to the clipboard based on selected copying style.