| GET,OPTIONS | /book/{Slug} | ||
|---|---|---|---|
| GET,OPTIONS | /book/{Slug}/{Profile} |
import Foundation
import ServiceStack
public class CourierBookHtmlRequest : Codable
{
public var slug:String
public var profile:String
required public init(){}
}
Swift CourierBookHtmlRequest DTOs
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.
GET /book/{Slug} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv