79811975

Date: 2025-11-07 05:40:15
Score: 1.5
Natty:
Report link

Updated answer from apollos example

https://www.apollographql.com/docs/react/data/file-uploads

import UploadHttpLink from "apollo-upload-client/UploadHttpLink.mjs";
import {ApolloProvider} from "@apollo/client/react";

const client = new ApolloClient({
  link: new UploadHttpLink({
      uri: 'http://localhost:8080/query',
  }),
  cache: new InMemoryCache(),
})
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ben Rasmussen