0

Ex:

mutation {
  uploadMediaObject(input: {file: "C:/Users/ASUS/Pictures/bmw.png"}) {
   mediaObject {id contentUrl}
  }
}

I want to test that mutation using graphql playground. So how to put a file in there?

Tiavina MIchael
  • 111
  • 2
  • 5

1 Answers1

1

I found out that neither GraphiQL nor GraphQL Playground support file upload. So my solution is using Altair

Tiavina MIchael
  • 111
  • 2
  • 5