0 points

javascript - How to upload images to graphql backend with axios? - Stack Overflow


dashboard

Fri May 15 2020 19:37:36 GMT+0000 (UTC)

Posted by @shyamady #javascript

  scalar DateTime
  scalar Upload

  input addUser {
    Email: String!
    Password: String
    FirstName: String!
    LastName: String!
    Age: DateTime!
    JobTitle: String!
    File: Upload
  }

  type Mutation {
    register(input: addUser!): Boolean
  }
content_copy Copy

graphql

https://stackoverflow.com/questions/61827041/how-to-upload-images-to-graphql-backend-with-axios