Meaning of Status Code 201 in API Client.cs

What is the meaning of Status Code 201?

Ā 

var status_ = (int)response_.StatusCode;
if (status_ == 201)
{
var objectResponse_ = await ReadObjectResponseAsync<ContactList>(response_, headers_).ConfigureAwait(false);
if (objectResponse_.Object == null)
{
throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null);
}
return objectResponse_.Object;
}

2 replies

šŸ—“ļø February 26th, 2:00 PM ET

Ready to master the ins and outs of getting your emails delivered? Join our experts for this free, one-hour webinar. You'll walk away with actionable strategies and tips.

Popular Posts: