pjharley

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
in reply to: WPDM API Uploading #126246

pjharley
Participant

The plugin is activated.
I am using JWT Authentication to access other parts of WordPress.
I notice that WPDM is using an API key for authentication, could this be a conflict?

I am able to get the routes to display a list the contents of a package from WPDM using /wp-json/wpdm/v1/packages/7713 for example but when I try to POST I get the error “no route found”.

in reply to: WPDM API Uploading #126226

pjharley
Participant

ok, I’m posting this:
{
“fileinfo”: {
“123456789890000”: {
“title”: “March 2020”
}
}
}
But I get this returned:
{
“code”: “rest_no_route”,
“message”: “No route was found matching the URL and request method”,
“data”: {
“status”: 404
}
}

in reply to: WPDM API Uploading #126217

pjharley
Participant

Thanks Nayeem,
Since posting this I have been reading the API documentation.
So my question now is:
I have been trying to add a file to an existing package. The example in the documentation does not include the “files” and “fileinfo” data.
So the question is how to add a file to an existing package using the API?

Thanks for your time.

in reply to: Some questions about WPDM #4911

pjharley
Participant

I would also like the German translation files.

Thanks

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