Questions tagged as 'curl'

1
answer

mercadolibre API

I have a problem getting the new id of a item republication directly from MercadoLibre . If I republish an item I get the new id and there is no problem, but if the republication makes it MercadoLibre directly, I do not know how to get...
asked by 08.11.2016 / 03:20
2
answers

Run cURL with digest authentication in java

I have a curl command in the following way: curl -X POST 'https://xxxxxxxxxxxxx' --digest -u user:pass -H 'Content-Type: application/json' -H 'Accept: application/json' --data-binary $'{"from" : "xxxx", "msg" : "xxxxxx", "frag": null}' I...
asked by 13.06.2016 / 18:57
1
answer

PHP does not detect the CURL

Good people, I have a web server on an Ubuntu Server 16.04.2 64-bit LTS. In which I am installing the GLPI, which gives me problems because it does not detect the CURL extension, which I have installed, I have even several versions. Here is t...
asked by 13.07.2017 / 12:45
3
answers

What alternatives to cURL are there to make requests to an API in php?

Would anyone know a function similar to cURL to make requests to an API in php? So far I have used cURL to make http requests, but I was asked to investigate alternatives, for example in cases where you work in an environment that does not al...
asked by 20.02.2017 / 22:18
1
answer

Equivalent of request curl en visual .net

As they are, I am trying to use the watson service, which makes a post request to an url, and the curl code is the following, I would like to know how I could do the equivalent of this request in visual .net with visual basic of language. curl...
asked by 05.01.2017 / 11:50
2
answers

Extract data from an array

I have the following code: if (!$curld = curl_init($dominio)) { echo "Could not initialize cURL session.\n"; exit; } curl_setopt($curld, CURLOPT_RETURNTRANSFER, true); curl_exec($curld); echo "<pre>"; print_r(curl_getinfo($curld)...
asked by 22.06.2018 / 18:01
1
answer

Receive XML response using CURL

I have a code that returns a response from Amazon MarketPlace, it is by get and I get the answer by cURL, if I put the URL in the browser it brings me the xml, however if I do it by php it brings me the plain text, even I do not know much about...
asked by 30.10.2017 / 15:15
2
answers

Problems with a CURL

Thanks for responding, change as you indicate and nothing, why will it be? $ track = '103494'; $ url = ' link '; $ fields = array (   'ID' = > $ track,   'Go' = > one,   'Type' = > 'T' ); $ fields_string = http_build_query ($ f...
asked by 23.08.2016 / 05:51
1
answer

Script SSI Injection

Good morning, I'm trying to make a script to automate SSI Injection tests. The idea is to use curl to make the request to a form but I find the problem that when making the request, it is as if I made it to the login page. I used the co...
asked by 12.12.2017 / 12:26
1
answer

enter modem with cURL

I found some examples of login with cURL and I am using this ... <?php error_reporting(E_ALL); ini_set('display_errors', 1); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://myhost/'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);...
asked by 15.11.2017 / 19:07