Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
voxpelli CreditAttribution: voxpelli commentedYes - this module is very suitable for making REST requests
Comment #2
thriftyngreen CreditAttribution: thriftyngreen commentedHi 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
Comment #3
voxpelli CreditAttribution: voxpelli commentedThis 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
Comment #4
thriftyngreen CreditAttribution: thriftyngreen commentedHi 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
Comment #5
voxpelli CreditAttribution: voxpelli commentedYou 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.
Comment #6
thriftyngreen CreditAttribution: thriftyngreen commentedI 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
Comment #7
voxpelli CreditAttribution: voxpelli commentedTake a look at how the OAuth Connector uses HTTP Client perhaps?
Comment #8
thriftyngreen CreditAttribution: thriftyngreen commentedI 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.
Comment #9
thriftyngreen CreditAttribution: thriftyngreen commentedNothing has worked so far. Even tried going to D7 with the WS Client module. Neither version working so far.
Comment #10
thriftyngreen CreditAttribution: thriftyngreen commentedWondering 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
Comment #11
Hugo Wetterberg CreditAttribution: Hugo Wetterberg commentedClosing this as the request for contracting work probably doesn't stand anymore.