Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "index" method is not implemented in class RestfulBase. #8

Open
fotuzlab opened this issue Aug 2, 2015 · 4 comments
Open

The "index" method is not implemented in class RestfulBase. #8

fotuzlab opened this issue Aug 2, 2015 · 4 comments

Comments

@fotuzlab
Copy link

fotuzlab commented Aug 2, 2015

I am getting this result when I browse http://api.test.lab/api/v1.0/basic_search. What am I doing wrong?

{
type: "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.2",
title: "The "index" method is not implemented in class RestfulBase.",
status: 501,
detail: "Not Implemented."
}
@e0ipso
Copy link
Member

e0ipso commented Aug 3, 2015

You will need to provide a search query to get search results.

@fotuzlab
Copy link
Author

fotuzlab commented Aug 5, 2015

@20100FR
Copy link

20100FR commented Aug 5, 2015

Hi Fotuzlab, you don't use the correct syntax, example : https://www.example.org/api/search/lorem.
In your case try http://api.test.lab/api/basic_search/Commoveo%20Quadrum

@fotuzlab
Copy link
Author

fotuzlab commented Aug 5, 2015

If I type http://api.clinicfinder.lab/api/v1.0/basic_search/Commoveo%20Quadrum in the browser, I get following error

Recoverable fatal error: Argument 1 passed to RestfulBase::setPublicFields() must be of the type array, null given, called in /var/www/html/clinicfinder/sites/all/modules/contrib/restful/plugins/restful/RestfulBase.php on line 1107 and defined in RestfulBase->setPublicFields() (line 1118 of /var/www/html/clinicfinder/sites/all/modules/contrib/restful/plugins/restful/RestfulBase.php).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants