ServiceStack Home (Live)

<back to all web services

RedirectSwiftJsonServiceClient

The following routes are available for this service:
All Verbs/dist/JsonServiceClient.swift
All Verbs/RedirectSwiftJsonServiceClient
import 'package:servicestack/servicestack.dart';

class RedirectSwiftJsonServiceClient implements IConvertible
{
    RedirectSwiftJsonServiceClient();
    RedirectSwiftJsonServiceClient.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "RedirectSwiftJsonServiceClient";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'account.servicestack.net', types: <String, TypeInfo> {
    'RedirectSwiftJsonServiceClient': TypeInfo(TypeOf.Class, create:() => RedirectSwiftJsonServiceClient()),
});

Dart RedirectSwiftJsonServiceClient DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /dist/JsonServiceClient.swift HTTP/1.1 
Host: account.servicestack.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}