How to consume RESTful web services in a custom module? I have an API which I would like to consume to do specific actions on my Drupal 7 website after getting data from the user via a webform form. I plan to write my own custom module to do that but don't know how where I should start from.

Is there any hook that could help me add supplementary action after getting data from my webform ? How am I supposed to proceed to consume my web services ? Any code snippet, advice, will be appreciated.
Module RESTClient is for this purpose.

It provides 4 APIs:


restclient_get()
restclient_post()
restclient_put()
restclient_delete()