Jump to content

[REQ] curl module


Recommended Posts

Hello folks,

For my server I'm in need of a CURL module to make rest full api calls to a web service.

I'm scripting my websites not in php any longer, i use there for python with the framework Django. Now with that i use a application called piston (http://bitbucket.org/jespern/django-piston/wiki/Home) piston just helps me creating a web service.

Also i want to use CURL to make calls to twitter and get the user timeline for example.

Now my question is could someone please make this, I'm not really into the c++.

I need this for my windows test server. And for my public server ubuntu.

If maybe the MTA team will build this into mta it self, it would be great!

Thanks in advance,

Alexander de Jong

Link to comment

I think you can already do it with the function callRemote..

Unfortunately everything I have tried, give error 22 (CURLE_HTTP_RETURNED_ERROR (22) This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400.) And I have no idea what I do wrong because I'm sure the URL I use is valid.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...