You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either a new examples entry, or a new area in the C# page.
Or event add some way to link examples from pages, in order to link it directly from the Fetch URL sub-action page. 🤔
// Create an object to send as JSONvardata=new{Id=1,Name="John Doe",Email="[email protected]"};// Serialize the object to JSONvarjson=JsonConvert.SerializeObject(data);varcontent=newStringContent(json,Encoding.UTF8,"application/json");// Send PUT requestHttpResponseMessageresponse=await_httpClient.PutAsync("https://some-url.com",content);
The text was updated successfully, but these errors were encountered:
Either a new examples entry, or a new area in the C# page.
Or event add some way to link examples from pages, in order to link it directly from the Fetch URL sub-action page. 🤔
Will think this over...
Additional context
Rondhi's HttpClient docs
PUT Example:
The text was updated successfully, but these errors were encountered: