POST | /todos/reset |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TodoWorld.ServiceModel
Namespace Global
Namespace TodoWorld.ServiceModel
<DataContract>
Public Partial Class ResetTodos
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /todos/reset HTTP/1.1
Host: todoworld.servicestack.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}