Questions tagged as 'curl'

0
answers

error LNK2019: external symbol undefined when trying to use libcurl

Hello, I'm trying to compile a static libcurl library, but without success. I downloaded the source code for libcurl version 7.55.1 available at link . After the download completes I extracted the contents to the local disk. I opened the...
asked by 13.09.2017 / 17:49
0
answers

consult card with php sinesp citizen

I'm trying to use a project available in github to query for a license plate, it returns if the vehicle has or is not sinister from theft, it happens that when I try to test the following message appears "Array ( [codigoRetorno] => 1 [mensa...
asked by 25.08.2017 / 03:15
1
answer

Control result size curl

Hello, I have to pull data from a feed using Curl in PHP. Once extracted, I write the result to my bank. The problem is that the result of the call is giant. Is there any way to control this flow? This is the code: $ch = curl_init(); cu...
asked by 08.09.2017 / 06:44
1
answer

Google Maps API limits (server-side)

I'm designing a PHP system that will access the Geocoding Maps API via URL (cURL). This system will be sold to different customers. All systems sold will be on the same server. Each system / client will have its own Key (API Key). PROBL...
asked by 05.09.2017 / 21:10
1
answer

Return curl with JSON

Hello, I'm trying to return this code in JSON, I just want some specific fields eg: Operator, type, portability and state. <?php //header('Content-type: application/json'); $post = ['tel' => $_GET['enviar'] , 'bto' => 'submit']; $ch...
asked by 10.07.2017 / 16:16
0
answers

Searching for data in the TMDb API

I have a website about movies made in PHP (codeigniter), I intend to use the API of themoviedb.org website to search and show information for users. And the first time I use an API and would like to get some questions. I can already make the...
asked by 05.06.2017 / 04:04
0
answers

Login WebService PHP + SOAP + CURL + XML + certificate

Good afternoon, I have the following code trying to access the ISS webservice of the city of Curitiba: <?php $xml_data = '<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
asked by 17.04.2017 / 18:30
1
answer

Mounting url for test in cUrl

I'm using Retrofit to call an internal API from a site I'm testing. A url similar to the one I have is: www.sitedeteste.com/r/ In my Android retrofit I have this PUT statement: @PUT("/ordem/{Id}/{tipo}") In my Ubuntu terminal my u...
asked by 28.03.2017 / 02:04
0
answers

Theoretical tip on captcha and curl php

I've seen snippets of code where people use curl to get the captcha image, but is it possible to get the string that's in the image? As I understand it, the complexity of captcha depends on the code that each site uses to genera...
asked by 10.03.2017 / 15:35
0
answers

How to make the Curl run?

I'm using a curl to download a file ... but there's a problem that when the user refreshes the page or uploads the download continues in the background. How do I stop the download from running ?! $url = 'http://www.sitelab.combr.co/backup.rar'...
asked by 29.03.2017 / 00:32