SCIMReferenceCode
SCIMReferenceCode copied to clipboard
Status Code being set to 201 on PUT request
https://github.com/AzureAD/SCIMReferenceCode/blob/12f21fbe90a09cc7acf8f834da73f482e3af9a34/Microsoft.SystemForCrossDomainIdentityManagement/Service/Controllers/ControllerTemplate.cs#L33
It appears that the status code is being set to 201 here, however, in the ControllerTemplate.Put action, we return an Ok (201) result ... which status code will be used here? The speicification for SCIM indicates it should be a 200 result (unless otherwise stated).
Ok
should overwrite StatusCode
set by this ConfigureResponse
function. I.e. Ok(result)
should set it to 200.