Betting.WebApi

<back to all web services

FileUploadRequest

The following routes are available for this service:
All Verbs/cmd/branding/upload
import Foundation
import ServiceStack

public class FileUploadRequest : Codable
{
    public var directoryName:String
    public var fileName:String

    required public init(){}
}


Swift FileUploadRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /cmd/branding/upload HTTP/1.1 
Host: api.sbbet.ath.cx 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"directoryName":"String","fileName":"String"}