PUT api/Blogs/{id}

Documentation for 'Put'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation for 'id'.

Define this parameter in the request URI.

value
Documentation for 'value'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Post": "sample string 3",
  "Comments": "sample string 4",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Blog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnockoutFundamentals.Models">
  <Comments>sample string 4</Comments>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <Post>sample string 3</Post>
  <Title>sample string 2</Title>
</Blog>

application/x-www-form-urlencoded

Sample:

Sample not available.