POST | /api/v1/users/forgot-password |
---|
import Foundation
import ServiceStack
public class ForgotPasswordRequest : Codable
{
public var userName:String
public var email:String
public var session:String
public var captcha:String
required public init(){}
}
Swift ForgotPasswordRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/v1/users/forgot-password HTTP/1.1
Host: efun-id-api-sandbox.efun.vn
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"userName":"String","email":"String","session":"String","captcha":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {}