I have been able to implement a CORS response with a fetch()
.
However, when I look to save()
a model using PUT
have been unable to implement this. The response which comes back is
OPTIONS http://[external domain] 501 (Not Implemented)
XMLHttpRequest cannot load http://[external domain]. Origin http://127.0.0.1:8888 is not allowed by Access-Control-Allow-Origin.
Can anyone give me an example of how to change backbone sync to implement this? or is this even possible?