Desktop OTP Enroll via API
I am trying to use the desktop OTP enroll API published here:
If I do a curl https://mfa-server//api/v1/otp-enroll/?user_name=userid&password=xxxxx I get a 405 error: ERROR 405: Method Not Allowed
The docs does not mention anything else apart from calling the api. Is there some config I missed or do I need something else to call the API ?
Method stands for http-method like GET/POST. This function can be used with a HTTP Post and you're doing a HTTP Get request. The Get method is not allowed and that is why you get a 405 response.