I have developed a wrapper around the REST API for performing some activities with CSI (SyteLine). It seems to run fine with lower versions of CSI, but with version 10, I get a 405 response when I try to do something destructive using an IDO with a POST or PUT method. Even the GET methods seem to work just fine, it's only the calls edit data that error out.
Is there some security setting I need to modify somewhere? I'm using the 'sa' account, so it's probably not permissions-related.
I also know it's not related specifically to my code, since even Postman has the same behavior just making raw calls.
Here's a failing example I exported from Postman:
PUT /IDORequestService/MGRestService.svc/json/SLSiteLinkInfos/UpdateItem HTTP/1.1
Host: MYSYTELINEHOST.DOMAIN.COM
Authorization: Authorization Token Omitted
Content-Type: application/json
Cookie: ASP.NET_SessionId=e4ahrsyvobm2hmvwbsvabuyu
Content-Length: 677
{
"Action": 2,
"_ItemId": 1,
"Properties": [
{
"IsNull": false,
"Modified": false,
"Name": "FromSite",
"Value": "CORP"
},
{
"IsNull": false,
"Modified": false,
"Name": "ToSite",
"Value": "EMEA"
},
{
"IsNull": false,
"Modified": true,
"Name": "DisableRepl",
"Value": "1"
},
{
"IsNull": false,
"Modified": true,
"Name": "LinkedServerName",
"Value": "HOSTNAME\SQL_INSTANCE_NAME"
}
]
}