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”.
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
}
}
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.
I would also like the German translation files.
Thanks