install joomla 4
enable plugin API Authentication - Basic Auth
and try to get something with curl (https://docs.joomla.org/J4.x:Joomla_Core_APIs)
open msdos
curl -X GET https://{dnsname}/j4/api/index.php/v1/banners --user user_name:password
json with the list of elements (banners, articles, ...)
{"errors":[{"title":"Forbidden"}]}
joomla 4 alpha 12
Title |
|
thanks, it's better with the last version
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-03 11:53:14 |
Closed_By | ⇒ | fuscage |
Sameissue with 4.0.0-beta6-dev.
both basic and bearer authentication give all {"errors":[{"title":"Forbidden"}]}
Tried it with postman and with a php curl file
Alpha 12 is very outdated. Please test with the nightly build. https://developer.joomla.org/nightly-builds.html