how to allow content type= application/json in cors enabled web api in

I want to send an array of objects in my ajax call and for that i have to use json.stringify and after that i have to set content-type header as ‘application/json’ otherwise data will not be received by the server.

Source: ajax

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.