Tag: axios
-
GraphQL Swapi api – getting error when fetching
1 Im kinda new to graphql but i tried my luck with this mini graphql api , but before getting into the point of this question i have some questions before: When using swapi api for example and more specific i want to fetch films , when i write the filmType GraphQLObjectType do i have…
-
axios error code 499 for chrome extension
0 i’m using axios to send some queries to leetcode to access their graphql API. I’m using a chrome extension that reads the necessary cookie credentials so that i can use it as auth for the API. however, I’m getting Request failed with status code 499 errors as a response. my query and cookies work…
-
fetch graphql query from external server
0 i’m trying to fetch some leetcode stats using leetcode’s graphql schema. when i enter the query in the browser, it gives me a response, but it’s not responding to me when i use axios. here’s the query i enter in the browser: https://leetcode.com/graphql?query=query { questionSubmissionList( offset: 0, limit: 20, questionSlug: "two-sum" ) { lastKey…
-
Shopify Processing Error On File Upload Through JS/GraphQL
0 I am implementing a simple solution that allows the user to select a file (any type of image). Once selected, the user clicks on "Upload Image," and the API call is triggered. I am receiving a status 200 in response, but when I check the Shopify Files directory in the admin panel, it shows…
-
Pass GraphQL Header from request to subsequent Axios Request
0 I have an Angular application which is using Apollo Client for querying a GraphQL Server from a NestJS application. This NestJS application is executing a request through Axios to an external Backend. How could be passed the client header set in all the GraphQL requests to the backend request through Axios? Apollo Client GraphQL…