Facing issue with uploading an image using graphql. When I test the following query using postman I get an error (shown below).
Query:
{"query":"mutation($file: Upload) {sendImage(file: $file)
}","variables":{"file":null}}
Error:
BadRequestError: Invalid JSON in the ‘operations’ multipart field (https://github.com/jaydenseric/graphql-multipart-request-spec).