i try to send a file as following in Altair
tool to graphql (backend is graphene-python).
I use this library for backend
but every it raises this error: Must provide query string
.
how can I upload a file to graphql?
i try to send a file as following in Altair
tool to graphql (backend is graphene-python).
I use this library for backend
but every it raises this error: Must provide query string
.
how can I upload a file to graphql?
There are a couple of things that could be the culprit here:
To verify what the issue is, you can verify that the right data is being sent from Altair by looking at the network tab of the developer tools in Altair, and also checking that the server is properly configured to work with the multipart format.