2016-07-25 5 views
1

UpsertDocumentAsync und CreateDocumentAsync funktionieren aus irgendeinem Grund nicht mehr. Ich Ausführung dieser Linie:UpsertDocumentAsync gibt 204 "kein Inhalt" zurück

_client.UpsertDocumentAsync(UriFactory.CreateDocumentCollectionUri(databaseId, collectionId), new { MyProperty = "A Value" }); 

und bekommen Antwort 204 (kein Inhalt). Laut MSDN gibt nur die DELETE-Operation diesen Statuscode zurück. databaseId und collectionId sind korrekt. Was könnte ein Problem sein?

Antwort

0

Ich habe meine Web-API-Methode Async gemacht und es das Problem behoben.

Verwandte Themen