[Bug]: Code server not work for POST (Apollo GraphQL)
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome - Safari
- Local OS: MacOs IpadOS
- Remote OS: Ubuntu
- Remote Architecture: amd64
code-server --version
: 4.7.1
Steps to Reproduce
- open code-server
- run Apollo GraphQL local with integrated terminal ( port 4001 and path /local/graphql)
- go to url domain/proxy/4001/local/graphql (GET work)
- call url domain/proxy/4001/local/graphql with POST not work
Expected
call url domain/proxy/4001/local/graphql with POST work
Actual
Just get work
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
No response
Issue Analytics
- State:
- Created a year ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Error handling - Apollo GraphQL Docs
If a request uses an invalid HTTP method ( GET with a mutation, or any HTTP method other than GET or POST ),...
Read more >Full Stack Error Handling with GraphQL and Apollo
If networkError is present in your response, it means your entire query was rejected, and therefore no data was returned. For example, the ......
Read more >Handling operation errors - Apollo GraphQL Docs
These are errors encountered while attempting to communicate with your GraphQL server, usually resulting in a 4xx or 5xx response status code (and...
Read more >Error Policy in Apollo Client React seems doesn't work - Help
1 I have a problem when test Apollo. When I try to query with apollo and graphql, i want response return error and...
Read more >Configuring CORS - Apollo GraphQL Docs
Specifically, the startStandaloneServer function's CORS behavior is not secure in this context. Instead, we recommend swapping to another Apollo Server ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jsjoeio i have found my mistake ! I have juste an old version of Serverless-offline dependency
@jsjoeio sorry for my mistake, for the bug on “npm i” I have push fix (just remove dependance) I don’t use Apollo Router because I use Apollo Federation and this sample is a subgraph. it work on my local but not on local of code-server