Access WPDM Rest API with Wordfence in place

in Download Manager Free

Viewing 3 posts - 1 through 3 (of 3 total)
Nov 10, 2022 at 11:42 am
#180265
Participant
Jochen S.
OP

Hello all together,

we installed the WPDM-Rest-API to automate some of our processes. We followed along the instructions given in the documentation over at https://imsas.github.io/wpdm-rest-api-docs/#introduction.

The “authentication” step seemed to work with the bearer token we got from the wpdm-Settings page. But as soon as we want to access any package information we are hit with

{
  "code": "rest_forbidden",
  "message": "You cannot view the post.",
  "data": {
    "status": 401
  }
}

So we tested around and noticed, that you don’t need any authentication to view the api-index, other than stated in the documentation.

We are running WordPress Version 6.1 and PHP 7.4.32.

The Version of the Download Manager is 3.2.59 and the version of the WPDM – REST API is 1.3.2.

Thank you for your assistance!

Nov 14, 2022 at 11:06 am
#180558
Nov 21, 2022 at 5:45 am
#180788
Moderator
Nayeem Riddhi
Staff

Glad to hear that, your problem has been resolved.

Thank you and regards

Viewing 3 posts - 1 through 3 (of 3 total)

The topic "Access WPDM Rest API with Wordfence in place" is closed to new replies.