I have…
- [x] Checked the logs and have provided the logs if I found something suspicious there
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [x] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
Likely that I’m just missing some header here (so could be that this is not an actual bug report, but my fault): when executing a GET request to query against the graphql endpoint I get a 415 (Unsupported Media Type) status code.
With POST everything works fine - however we need GET to be able to cache requests using the Squidex content CDN (as per the Squidex CDN caching documentation).
Expected behavior
GET works as well as POST.
Minimal reproduction of the problem
Just run a GET request with a query against the graphql endpoint, e.g.
https://cloud.squidex.io/api/content/clear/graphql?query=<urlencoded query>
The headers are:
Accept: application/json
RetryWithRefresh: true
Authorization: Bearer xyz
X-Languages: en-US, en
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [x] Cloud version
Version: latest (cloud)
Browser:
- [ ] Chrome (desktop)
- [ ] Chrome (Android)
- [ ] Chrome (iOS)
- [ ] Firefox
- [ ] Safari (desktop)
- [ ] Safari (iOS)
- [ ] IE
- [ ] Edge
- [x] Android
- [x] iOS
Others:
We are using the Apollo GraphQL library on Android and iOS to create and execute the requests.