Data API 405 Error

Discussion created by on Nov 1, 2017
Latest reply on Nov 2, 2017 by

We are trying to authenticate to the v16 Data API and are getting the following error trying to retrieve a token. We can log in and do all the things you can do with the Data API using Postman, but when we do it with javascript inside a browser it fails with a 405 error. The server is 2012 R2 IIS 8.5 with a 3rd part SSL Cert.  We have modified IIS to allow a number of things and this has allowed us to move farther allow, but we can't seem to get past this. This is the code (Modified to protect the innocent):

This is the error: