DutchCaffeine Posted June 7, 2010 Share Posted June 7, 2010 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
DEFCON1 Posted June 7, 2010 Share Posted June 7, 2010 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
DutchCaffeine Posted June 7, 2010 Author Share Posted June 7, 2010 callRemote is no solution. I can't send http authentication with callRemote. Link to comment
dzek (varez) Posted June 7, 2010 Share Posted June 7, 2010 and calling it this way is not working too? http://login:[email protected]/ Link to comment
x86 Posted June 7, 2010 Share Posted June 7, 2010 Feel free to contact us at irc about it.. IRC: irc.mtasa.com Channel: #mta.dutch (Module development channel). Link to comment
DutchCaffeine Posted June 8, 2010 Author Share Posted June 8, 2010 and calling it this way is not working too?http://login:[email protected]/ hmm, i can try to do that. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now