Skip to content

Custom upload endpoint (own your data) #1

@JeroenAdam

Description

@JeroenAdam

Hi, for users who wish to own their data, at the moment there is no way to specify an own server (local of cloud).
I tested with another known tool (ShareX) and it works with the below input.

BTW, my use case is the same as I've seen in your ScreenMe demo: upload a file, URL copied to clipboard (if possible automatically, without having to do an extra button click).

Maybe this new feature can be made accessible in the tray, or alternatively via a config file.
Here the needed input:

Name: MyLocalServer (for UI purposes, in case maybe one out of multiple servers could be selected)
Method: POST
Request URL: http://localhost:8080/api/v1/upload
Headers: X-API-KEY / MySecretApiKey
Body: Form data (multipart/form-data)
File form name: file (a value of 'file' is the standard, maybe not all servers follow the standard)

I've taken a look at your code, in my example it is just the URL and the header which differ.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions