Hi everybody,
After the last update to version 4.18.7 the API throws this error: "Connection error. No authorization header".
The login return success, i get a token and use this for the next requests, like it is described in the doku:
https://www.webdesigner-profi.de/joomla-webdesign/example/addon_api_documentation.htm
probably this is caused by the update?
this is my request (php):
$curl = curl_init(..../index.php?option=com_jshopping&controller=addon_api);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query([
'section' => 'user',
'task' => 'groups',
]));
curl_setopt($curl, CURLOPT_HTTPHEADER, [
'Authorization: Bearer ' . $token_i_get_from_opening_call
]);
$res = curl_exec($curl);
same error with other tasks...
Greetings from Carinthia
Joomla: 3.9.28
JoomShopping: 4.18.7
PHP: 7.4
MySQL: 15.1
Website Url: local
JoomShopping: 4.18.7
PHP: 7.4
MySQL: 15.1
Website Url: local
Letzte Änderung: 16.08.2021 12:43