WCF REST 4 template POST request works on localhost, but error code 400 on server

listed in answer

WCF REST 4 template POST request works on localhost, but error code 400 on server
0 votes, 0.00 avg. rating (0% score)

ANSWER:

The problem was that I am using ado.net entity model to connect to a backend database…the connection string was using integrated security (as opposed to SQL Server logins), so when I started running it on the server, the integrated part broke.

by jdb1a1 from http://stackoverflow.com/questions/10261790