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?
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?
I found out that neither GraphiQL nor GraphQL Playground support file upload. So my solution is using Altair