-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
"copy as curl" does not save the file upload functionality #1600
Comments
Hey @matthewvcarey1 👋, Thank you for opening an issue. We will get back to you as soon as we can. |
👋🏾Thanks for opening your first issue here! Be sure to follow the issue template! ✌🏾 |
As an aside, I had a look at the packets that altair (using wireshark) is sending when it makes the successful upload of files and the form looks much more like the type of query that postman does rather than the type the playground does and that altair seems to generate on "copy to curl" |
Yeah @matthewvcarey1 the "Copy to cURL" doesn't support the file upload functionality. It hasn't been updated, so it will be buggy. Thanks for mentioning it. |
I'll be disabling the "Copy to CURL" functionality when using file input, until it is properly updated with support for that. |
Describe the bug
If you have a mutation that uploads file(s), successfully within Altair when you choose "copy as curl" a curl command line is generated but when you run it in curl it does not upload the files.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the "save as curl" command line should behave exactly as Altair does, if it knows where the files are.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: