jaydenseric / graphql-multipart-request-spec

A spec for GraphQL multipart form requests (file uploads).
993 stars 54 forks source link

Not able to upload image from React Ant to Node.js server via GraphQL #67

Closed Heni-ghodbane closed 1 year ago

Heni-ghodbane commented 1 year ago

This is the whole issue description on stackoverflow

I have tested the mutation through Postman, and it works correctly.

Screenshot_2

But I don't know how to convert this Postman file upload to request to TS react code.

Could some hone help me. I hope the issue and solution, will help others who are running on the same issue/need.

Many thanks,

Heni-ghodbane commented 1 year ago

Sorry duplicated issue.