Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.
GNU General Public License v3.0
590 stars 35 forks source link

Puush.me configuration "Request failed: 0" #61

Open whosboosh opened 3 years ago

whosboosh commented 3 years ago

Hi, I'm testing adding a new configuration for puush.me. I've used the following settings in the json config which seems to upload the image just fine to puush.me as seen below: nicememe v6YJDGluaNKczIq4v50

But sharenix is returning this error despite having uploaded successfully? Is there something I'm missing? Thought I had the configuration syntax figured out, documentation is lacking a bit...

Is this even something to be concerned about since it still uploaded okay? Tested the same configuration in postman and I got the same response, in fairness API documentation for puush is non-existent either so god knows what is happening but it returned a 200 code so 🤷‍♀️ nicememe I8Y0junwpxeFSswwyQv

whosboosh commented 3 years ago

The main issue here is just the clipboard contents after copy has the 0, before the url which make it invalid.

ChuckNoxis commented 3 years ago

Upload is working well with puush.me but I have the same problem ^^ May I ask @nathanial292 what is the 'z' argument ? (As you said there is no API documentation haha)

whosboosh commented 3 years ago

Upload is working well with puush.me but I have the same problem ^^ May I ask @nathanial292 what is the 'z' argument ? (As you said there is no API documentation haha)

Aha, the z argument is just a mandatory key for authorisation. Guess the devs were feeling funny when they made the API 💩