-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy GET request returns 415 #8035
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use the proxy option (ie
ember serve --proxy http://localhost:9000
). Then I have a request from my application that tries to do a simple get (viaaxios.get('rest/service')
). Something about the proxied request is causing a 415 UNSUPPORTED MEDIA TYPE but I don't see anything useful in the console output.I have a create-react-app that I was testing that also did a proxy to that same server and used axios to get the data and everything there worked fine so it seems like something with the proxy implementation is amiss maybe?
Output from
ember version --verbose && npm --version && yarn --version
:The text was updated successfully, but these errors were encountered: