Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [curl]

cURL is a library and command-line tool for transferring data using several protocols such as HTTP, FTP and Telnet.

2
votes
1answer
331 views

Send a cURL POST request to an external url with parameters from controller

Is there any way to redirect to external url with parameters from a controller? I'm using joomla 2.5.9 and I have a controller that sends emails to the administrator. After an email is sent ...
3
votes
1answer
152 views

Get the output of another url and store it in a variable, while maintaining session

Scenario: User is posting an ajax request to Joomla site (via com_ajax). Inside the called method, I want to retrieve the entire html output of a known Joomla submenu (let's say /contact). The ...
2
votes
2answers
1k views

How to leverage external JSON REST API in Joomla 3.5.1 after user login?

I need to integrate a Joomla website with a third party REST API. Let me try to clarify what I'm trying to do. Ideally when a user logs on to the Joomla website once they authenticate they will also ...
3
votes
2answers
1k views

Perform Basic Authentication cURL request using API

I would like to perform a cURL request using the API of Joomla 3.4 using the POST method. I have following code, but keep getting a 401 error. $headers = array( 'Content-Type' => 'application/...
1
vote
1answer
889 views

Joomla3.x component curl JHttpTransportCurl

I'm developing a component require to use a management software api, which is using curl to accessing the data in that software. However, it seems joomla restrict the curl access, because the api ...
-1
votes
1answer
47 views

Joomla 2.5 installer: cUrl cannot find domain.tld/extension.xml with HTTP 302 Found instead of HTTP 200

I've been trying the "find updates" in Joomla for a few extensions, where I only get error messages such as Unable to open http://www.keashly.net/updates/kc_cufon.xml You can perfectly open and ...
3
votes
3answers
2k views

Remote Login using cURL

I'm trying to login a user who was authenticated elsewhere to a Joomla-site and was following Brent Friar's nice program, but had to apply two modifications: added a field "return" which was ...
1
vote
1answer
444 views

Initializing JHttpTransportCurl class

i am trying to call & get another url data.So is trying to create new instance of http class as follows - jimport('joomla.http.http'); jimport('joomla.http.transport.curl'); $options = array(); $...