This repository has been archived by the owner on Jul 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
"Unauthorized" using Yanius ShareX server #12
Comments
it might be that sharenix url-encodes parameters even for POST, i'll test later and let you know |
Cool, thank you :) |
well this is interesting, I'm using a http dumper to check and sharenix still sends the apikey field for me, even with that writer closed. but it might just be undefined behaviour, either way I'm gonna see if that fixes it |
yeah, it works. just tested with a local instance of yanius |
Brilliant, I'll give it a shot, thanks very much |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When trying to use Sharenix to upload an image to Yanius, it returns 401 Unauthorized. I've copied the config straight from ShareX and tried regenerating my api key.
My config:
Is there an option in sharenix to show more debug data? This is what it gives out (With API and URl data removed) when I run
xfce4-screenshooter -r -o "sharenix -n"
:I'm not really sure why it's giving me unauthorized. This curl example works:
curl http://<myurl>/api/upload -F "apikey=<apikey>"
(Although it whines about missing a file, but that's because I didn't provide one).What is Sharenix doing differently from the curl example?
The text was updated successfully, but these errors were encountered: