1

How to create custom GET resource operation? I tried many variants in hook_services_resources() but didn't find the solution. Is there way to do this? I want get some data from url rest/coaching/objectives-info and it should be GET request.

1 Answer 1

0

I solve this problem by adding new resource with index operation. So the path became 'rest/objectives-info', not he same but suitable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.