-
Notifications
You must be signed in to change notification settings - Fork 335
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
Support File as Request Body #352
Comments
@animator would this include rewriting all codegens and their corresponding tests as well? Also, I believe I would have to add a new state variable to |
Has anyone noticed file picker not working on linux? I don't know if i should raise a new issue or maybe my environment isn't properly configured. |
@alainjr10 Yeah this isn't documented but on linux you need @animator I believe the mpv and zenity dependency should be documented for linux developers Edit: Link to the package on repology: https://repology.org/project/zenity/versions Edit 2: it needs one of the following |
Thanks a lot @Tanish2002 . |
FWIW, I've opened a PR to potentially fix this issue #357 |
Tell us about the task you want to perform and are unable to do so because the feature is not available
Currently API Dash supports
text
,json
,multipart formdata
as request body.Support should also be provided to attach just a single file.
The contents of the file is sent as bytes and the content-type is
application/octet-stream
Example API use case - Send an image in request body and obtain its base64 string form as response.
The text was updated successfully, but these errors were encountered: