Test

<back to all web services

TestNullResponse

The following routes are available for this service:
All Verbs/null-response
import 'package:servicestack/servicestack.dart';

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

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

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

Dart TestNullResponse DTOs

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

HTTP + JSV

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

POST /null-response HTTP/1.1 
Host: test.servicestack.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}