0

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 [].

0
drupal_json_output($resultsarray);

you will get json data

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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