-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRUD API (sort of) #8
Comments
For the download part, as for the filename you need the url to be Another potential solution would be to pass the file content as the |
Could a route of It's a redirection so it might break some implementations... |
I tried redirections, it works well on browsers, but i have an issue on the curl method, in curl the Welp I mean, you can still normally |
Needs to be tested. Could be a solution
|
But that wouldn't work w/ curl |
|
Now, we need to fix #3 |
This makes reference of #6 and #7.
I want to rework the api system to use the request type to decide what action you wanna make.
The goal api would be
GET /
-> web_pageGET /<uuid>
download file with given uuidPUT /
upload a fileFor the
GET /<uuid>
i wondered how i could make the browser ask the user for file save instead of displaying the file as content, and i found !You just need to set Bytes or Binary as content type !!
The text was updated successfully, but these errors were encountered: