ServiceStack Home (Live)

<back to all web services

RequestPasswordReset

The following routes are available for this service:
All Verbs/request-password-reset
All Verbs/RequestPasswordReset
import 'package:servicestack/servicestack.dart';

class RequestPasswordReset implements IConvertible
{
    String? email;

    RequestPasswordReset({this.email});
    RequestPasswordReset.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        email = json['email'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'email': email
    };

    getTypeName() => "RequestPasswordReset";
    TypeContext? context = _ctx;
}

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

Dart RequestPasswordReset DTOs

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

HTTP + CSV

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

POST /request-password-reset HTTP/1.1 
Host: account.servicestack.net 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"email":"String"}