REST API failing

Hi, 

we are  creating a web application that would allow us to post information into sugar using the rest API. It seems to work fine in test environment  i.e. when the application is hosted on a local machine but as soon as it is hosted on the web server (azure) the API fails. It creates blank records and does not add any information to them. What are we missing?! 

Thanks!