mtlynch / picoshare

A minimalist, easy-to-host service for sharing images and other files
https://demo.pico.rocks
Other
2.34k stars 169 forks source link

Why the guest upload api returns uncertain responses? #596

Closed XiaoQiu2451 closed 2 weeks ago

XiaoQiu2451 commented 2 months ago

Hello, I tried to use it as the main Image Host Service in my project. Then I found a problem that the guest upload api returns uncertain responses. Sometimes it returns JSON-like {'id': '...'}, sometimes it returns HTTP_URL like http://127.0.0.1:4001/-... I am confused why it is designed in this way which has no any adventage for development. And also, I think it will be better of this project to have a more clear API documents for development.

mtlynch commented 2 months ago

Can you share the steps that reproduce this behavior?

And also, I think it will be better of this project to have a more clear API documents for development.

The project doesn't have a stable API, as it's a hobby project I work on for fun in my spare time.

mtlynch commented 2 weeks ago

Closing due to lack of response.