| GET | /api/v1/verifyemail |
|---|
import 'package:servicestack/servicestack.dart';
class ConfirmEmailHtml implements IConvertible
{
String? email;
String? token;
String? sid;
ConfirmEmailHtml({this.email,this.token,this.sid});
ConfirmEmailHtml.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
email = json['email'];
token = json['token'];
sid = json['sid'];
return this;
}
Map<String, dynamic> toJson() => {
'email': email,
'token': token,
'sid': sid
};
getTypeName() => "ConfirmEmailHtml";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'auth.migrantleap.com', types: <String, TypeInfo> {
'ConfirmEmailHtml': TypeInfo(TypeOf.Class, create:() => ConfirmEmailHtml()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/v1/verifyemail HTTP/1.1 Host: auth.migrantleap.com Accept: application/xml