Access WPDM Rest API with Wordfence in place

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

Jochen S.
Participant

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!

#180558

Jochen S.
Participant
#180788

Nayeem Riddhi
Moderator

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.