I have an api endpoint defined as follows
@Api (name = "auth", version = "1")
public class AuthenticationEndpoint {
@ApiMethod
public AuthResult Register (@Named ("email") String email, @Named ("password") String pass) {
// TODO: do something with the user agent here
}
}
Is there any way to access the user agent here in my Register method?
Thanks