Questions tagged as 'http-request'

1
answer

APP Communication with Web Server

I'd like to know how best to make my mobile / android application communicate with a web server (apache / php, for example) to receive / send data. The idea is to have my mobile application from time to time consult the web server to get data...
asked by 10.03.2015 / 18:21
2
answers

How do I login to a system through an HTTP request?

I am performing an HTTPS get request for the next address , my initial intention is to receive the html data from the page. I followed the Mkyong tutorial, but I get the answer 302, I do not know what I'm doing wrong, I've added the necessary...
asked by 15.06.2015 / 00:18
2
answers

How to display the http request from a browser, and the http response from the server

I would like this information to study full examples of https protocols with Cookie and Sessions, whether via Java Socket, PHP. If possible through the browser itself.     
asked by 07.08.2014 / 18:27
2
answers

How to create a property in an existing object of an http request?

I'm trying to exhaustively put a property on an object that comes from a request (JSON), but I'm not getting it, it's like it just does not get it, but when I do a console.log, there it is, but it's not returning in the reply I send to the postm...
asked by 16.05.2018 / 00:22
2
answers

Data received via Request using Doctrine need to be handled?

I'm developing a new project, it's the first time I'm using Doctrine with Silex and I'm in doubt about receiving information through forms. I get data from forms through Request Symfony ( Symfony\Component\Ht...
asked by 25.01.2017 / 14:38
1
answer

How to make an http request with php with authentication and waiting for a file in response?

I'm using a Text to Speech service and would like to use it in a php that I'm riding. The problem is that I have never done this before and I do not even know where to start. This type of information is provided in the documentation GET...
asked by 17.02.2017 / 15:17
2
answers

Get value from within a function

I have a logic problem here, I think it must be a "dumb" thing on my part, like I have to get a value from within the function, and I'm not getting a return for being an http request. look: $scope.postData = function(method, data, file){...
asked by 10.01.2017 / 14:27
1
answer

AngularJS ignores content-type for GET requests

In my Angular 1 application, I am using $httpProvider to be able to default to all content-type methods, but for GET methods, it does not send in its header. How can I force the angle to set the content-type in the GET methods? No conf...
asked by 19.10.2017 / 14:52
1
answer

Use the same getInputStream () for 2 different bufferedReader

I need to access a file on an HTTP server and retrieve information from 2 different sites within that file. At this moment I can withdraw from only one. My doubt is, I can simply do: BufferedReader in = new BufferedReader(new InputStreamReader...
asked by 02.12.2015 / 18:39
1
answer

Send .txt file from one pc to another using http service

I need to send a file from one PC to another over the network, only using link requests, so I do not have to download at the socket level, which gives a job. Is anyone able to clear me with some API or code sample? PS: I'm not lazy, unt...
asked by 31.01.2016 / 21:59