I am looking to expose some web services publicly so I need to enable CORS for cross domain POSTING.
I seem to be able to get it to work for GET calls by adding response.Headers.Add("Access-Control-Allow-Origin", "*"); before I return the results.
However, when posting, the server seems to reject the request before it makes it to my HttpResponseMessage function.
Any ideas how I can incorporate this, it's rather important to the project.
Many thanks,
--A