gogga

Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25
11:12
289 views
Desktop OTP Enroll via API
Hi
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 ?
Thanx
2 Replies
alexander_milte nburg

Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25
14:32
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.
gogga

Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-25
16:20
Alexander
Thanx for the quick reply. I did not realize (or look properly) that it was a POST call. Al working now.
Johan