Nein leider bringt auch das hier die selbe Fehlermeldung:
Delphi-Quellcode:
mBody := '
{"id":"inv-764b9be9-9b2a-448a-867e-54377d1327c0"}';
mBodyObject := TJSONObject.ParseJSONValue(mBody);
mClient.BaseURL := '
https://localhost:52523/server/rest/global/';
mRequest.Resource := '
invoice/pri-sp-7b28ff36-7db0-11e7-8e96-370f7a75d9f2';
mRequest.AddParameter('
X-Environment', '
Test');
mRequest.AddBody(mBodyObject);
mRequest.Method := TRESTRequestMethod.rmPUT;
mClient.Authenticator := mAuth;
mRequest.Client := mClient;
mRequest.Response := mRespone;