Sending Content-Type in the header to tomcat server


#1

I am trying to pass the variable “Content-Type” over to my server from my ember app, built with ember-cli. I have tried just about anything and everything I have found online, but i am not able to get any of my additional header passed over to the server.

I am doing a basic call to the server, giveMeSettings.api?json={“myLinkCode”:“myfirstSite”}, I both my application.js and my login.js. I have

export default DS.RESTAdapter.extend({ and added in additional parameters for the header, but I see none of them show up on the server side.

I have tried the dynamic header and the normal headers, but nothing works… please help…

‘Accept-Language’ : ‘en-US’, ‘Content-type’ : ‘application/json’, ‘Content-Type’ : ‘application/json’, ‘CONTENT-TYPE’ : ‘application/json’, “MyDumpHeader”: “GetOverToTheServer”