Could this be used to make REST requests to remote servers for an affiliate store or coupon site? Trying to find the best method for this REST is what they want.

Comments

voxpelli’s picture

Yes - this module is very suitable for making REST requests

thriftyngreen’s picture

Hi do I need services and rest server as I cannot find any sort of documentation and although I have the module installed it is not showing up anywhere that I can see. Thanks for any insight

voxpelli’s picture

This module doesn't provide any interface of its own - its used by other modules needing to communicate with REST services. Examples of such modules are http://drupal.org/project/oauthconnector and http://drupal.org/project/wsclient

thriftyngreen’s picture

Hi thanks for the quick response. Yes I am having real trouble finding a Rest / Http client to communicate with Affiliate REST services with say Commission Junction Web Coupon Service. I am on Drupal 6.2

Web services is only 7 from what I see can oAuth Connector provide this it was not readily apparent to me

voxpelli’s picture

You want a client that you can configure through a point and click interface? I'm unsure if such a module exists for Drupal 6.

The HTTP Client is meant to make it easier for developers to code their own clients - I think it will be hard for you to avoid writing code if you need a client for a custom affiliate API:

If you're lucky then perhaps perhaps something like http://drupal.org/project/clients might work. Haven't tried it myself at all though so I can' help you with it.

Writing your own client is pretty easy with HTTP Client though.

thriftyngreen’s picture

I have gotten this far :) if there were any directions I could look at I could probably pull it off. No it seems like I have to go to 7 which is kind of scary I just 6 set up :) or do something like this. This is the only way CJ will offer coupon feeds now. It is a real need for Drupal 6 any chance you could give me some direction? I understand how to form my request just need a service to enter the query into or some other method

voxpelli’s picture

Take a look at how the OAuth Connector uses HTTP Client perhaps?

thriftyngreen’s picture

I am going to give Clients a try, they posted a beta yesterday :) so good timing I guess your ears were ringing. Thanks I appreciate the guidance.

thriftyngreen’s picture

Nothing has worked so far. Even tried going to D7 with the WS Client module. Neither version working so far.

thriftyngreen’s picture

Wondering if we could commission you to build us a custom http request for the Link Share affiliate Coupon API. We have tried to figure it out but just beyond us from a time perspective in trying to learn something new. We thought it would simply be a matter of pluggin in our variables to the code we found at http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_ht... but just seems to be giving us this

Parse error: syntax error, unexpected ';', expecting '{' in /home/content/01/7110201/html/includes/common.inc(1696) : eval()'d code on line 3

Basically just not sure what we are doing on this and cannot find proper direction online direction let us know if you can provide documentation to get us through or just want to do it for a set price. Should be quick from what we can see. Thanks

Hugo Wetterberg’s picture

Status: Active » Closed (won't fix)

Closing this as the request for contracting work probably doesn't stand anymore.