Questions tagged as 'curl'

1
answer

Varibles POST to another service provider with cURL

I need to send varibles POST received by a form in a server to another server I have a file that receives the varibles and groups them in an array like this: $url = "http://servidor2.com/cotizador.php"; $datosProducto = array("modelo"=>html...
asked by 25.10.2017 / 04:11
0
answers

Error with php-curl in ubuntu Server

I have an error using php - curl. This PHP file helps me send notifications from my server to firebase. I've tried it on a local server with windows and that same file works perfectly, but when I try it on my linux server it does not work....
asked by 06.07.2017 / 15:52
1
answer

Do xhrFields: {withCredentials: true} of AJAX in PHP CURL

In the request POST in AJAX I have this to keep the user session of the external website. xhrFields: { withCredentials: true }, crossDomain: true How can I do this in CURL in PHP ?     
asked by 06.06.2017 / 11:56
1
answer

Curl from wamp windows7 64bit unanswered external website

Good afternoon, I'm trying to make a call to a website using curl, from php, from windows 7 64bit, using wamp v2.2 and php v5.4.3. This returns a null. If in the same code I change the URL for a local, the curl works. Download a fix for the curl...
asked by 04.06.2017 / 21:02
1
answer

Import CSV file from Facebook marketing API

I have generated the statistics of my Facebook campaigns with the API Marketing and php ads sdk , I get access to my report and from the browser what I can download by entering an url like this:    www.facebook.com/ads/ads_insights/expor...
asked by 15.05.2017 / 19:26
0
answers

Advanced filters with CURL

Good morning. I'm searching a database through an API called Swagger, which Curl uses for searches. I wanted to know if using curl it is possible to use combined filters, that is, if I look for people who are male and over 25, that I take out th...
asked by 20.04.2017 / 09:37
1
answer

Replace in cUrl

UPDATED URLs Hi, I want to download an external file and replace some characters and save the data in a file on my server. Here shows how it does, what I want to do is using cUrl, since the new hosting provider does not allow me to use t...
asked by 06.04.2017 / 14:18
1
answer

php url web service that throws error, I can not find this error

It's my first time making this kind of connections, the idea is to obtain a series of values from this server. "In theory" , the code should return a xml file. This is my code: $soap_request = 'xml='.urlencode(trim(' <soap:En...
asked by 26.08.2016 / 23:23
1
answer

send form with files to REST API with curl php

I am trying to send a form with files to a REST API in curl with the version php 5.6, but when uploading the file it sends me a message saying that some fields have not been received and I have already tried everything what comes to mind (also w...
asked by 18.09.2017 / 15:32