This might be sound like a very foolish question ...

I want to expose a service to receive a JSON file from client side in GET or POST format through which I can send an email. What should be my initial algorithm?

I know I need to implement hook_services_resources() to create a resource for the services.

But I don't get what would be its parameters and what would be there in resource api [].

1 Answer 1


you will get json data

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.