Questions tagged as 'curl'

1
answer

Help with logic, using Twitter Rest API

Well, I have authentication ok with the code below: <?php if (isset($_POST['ttrSignin'])) { $ttrUsername = trim(filter_input(INPUT_POST, 'ttrUsername')); $ttrPassword = trim(filter_input(INPUT_POST, 'ttrPassword')); if (empty($ttrU...
asked by 29.06.2017 / 22:50
1
answer

if on the screen before the query is performed

I'm trying to create a consultant with PHP who makes a request on a form with an email from the client and returns me if he is registered in the service. The problem is that when I start my page directly the if prints on the screen the va...
asked by 03.07.2017 / 14:59
1
answer

How to send this XML to the webservice via PHP

Good morning, I have the following problem: I need to remove from the site of the city hall which companies issued a note this month. I did the processes to install the city hall certificate, and I need the response of this xml: <...
asked by 17.04.2017 / 14:42
1
answer

Extension cURL does not work? [closed]

I want to open the login page of a site that has almost all been ready for me, but this error happens:    Facebook needs the CURL PHP extension.   Line 19: \ Program Files \ x86 \ EasyPHP-Devserver-16.1 \ eds-www \ core \ api_classes \ facebo...
asked by 11.04.2017 / 14:44
1
answer

curl + HTTP Server Nodejs

Good morning! I created an HTTP server using nodeJS as follows: var express = require('express'); var app = express(); var bodyParser = require('body-parser'); app.use(bodyParser.urlencoded({ extended: true })); app.post('/', function(r...
asked by 21.08.2016 / 15:26
2
answers

PHP - How to fill a field using Curl?

What code do I use to fill fields on a web page with cURL ? These are the fields: Field Name: <li> <label for="supporter_full_name">your name*</label> <input class="textbox" id="supporter_full_name" name="...
asked by 23.07.2015 / 07:30
1
answer

Problem with accentuation cURL

I have a code where I send data via cURL to another page inside the server, but I have a problem ... When sending this data to the other page, it inserts into MySQL only when viewing the record inserted in the MySQL all words after any ac...
asked by 31.08.2014 / 23:48
1
answer

Selecting data in cURL Java

I would like to know how to select the data using the gson library. BufferedReader reader = null; URL endereco = new URL("https://prod.api.pvp.net/api/lol/"+Server+"/v1.4/summoner/by-name/"+Jogador+"?api_key="+API_KEY); try { B...
asked by 20.06.2014 / 20:17
0
answers

Search in google maps api returns different values with curl or guzzle

I do the search in google maps api with curl or guzzle using php and it returns me a different value than using postman or the browser ex: $client = new Client(); $res = $client->request('GET', $url,[ 'query' => [...
asked by 19.12.2018 / 20:21
0
answers

curl within another curl to save images

I have an api in Slim Framework, inside the "Service A" api I am using a curl to call "Service B" api, this "Service B" downloads images through the url of them using another curl, he runs "Service A" and calls "Service B", he successfully upset...
asked by 24.09.2018 / 20:24