You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.
This one is driving me nuts and maybe its just me, but at least I can recreate the issue.
Explorer is giving me the following error;
200 : OK ../resources.json
I have worked out that its because of Authenitcation class and set useUrlBasedVersioning both included in the index.php. If you try each of the items separately then explorer works as expected. I do want both to work so I can show both versions in explorer.
Code used
Defaults::$useUrlBasedVersioning = true; // comment out to work and leave auth line
$r = new Restler();
$r->setAPIVersion(2);
$r->setSupportedFormats('JsonFormat', 'XmlFormat');
$r->addApiClass('Resources'); // this produces the needed resources.json
$r->addAPIClass('BMI');
$r->addAuthenticationClass('SimpleAuth'); // comment out to work and leave url line
$r->handle();
is this a bug or does it need to be refactored differently.
Cheer
Codemonkeyneo
The text was updated successfully, but these errors were encountered:
This one is driving me nuts and maybe its just me, but at least I can recreate the issue.
Explorer is giving me the following error;
I have worked out that its because of Authenitcation class and set useUrlBasedVersioning both included in the index.php. If you try each of the items separately then explorer works as expected. I do want both to work so I can show both versions in explorer.
Code used
is this a bug or does it need to be refactored differently.
Cheer
Codemonkeyneo
The text was updated successfully, but these errors were encountered: