Questions tagged as 'http'

4
answers

Is it possible to do client-server communication in real time via HTTP?

TCP sockets I can put a server application in listening and make clients connect and wait for requests on both the server and the client, having the possibility of the server sending information for ALL clients connected without any request f...
asked by 12.03.2014 / 19:56
1
answer

Differences between Success and Then AngularJS

So far I've used success to Http Promises . Ex: $http.get(/url).success(function(data){ console.log("Sucesso"); }) .error(function(response, status) { console.log("erro " + status); }); } But today I...
asked by 01.12.2015 / 16:47
2
answers

How can I get HTTPS in my web application?

In this link I learned how HTTPS works: StackOverFlow - How HTTPS works But I do not know which applications I should use, and how to get HTTPS, if it depends on some host , programming language etc. For more detail I say, my applicat...
asked by 16.01.2015 / 16:06
2
answers

How to continue running a script, even after sending the data to the browser?

When I asked the question What is the solution for asynchronous processes in PHP? , basically what I had in mind was this question:    "Is there a way to complete a request from a client, but leave a process running in the same script that s...
asked by 30.09.2017 / 17:30
1
answer

How to avoid overloading HTTP requests when consuming REST APIs?

I have a REST API made with Laravel and a WebApp (which uses the features of this API) made in Angular.JS. My WebApp is a unique registered user portal, but now I'm creating a website so that non-registered users can only check out a few things....
asked by 12.10.2015 / 14:06
1
answer

Convert RTSP stream to HTTP Live Stream

How do I convert RTSP stream to HTTP Live stream? I own an IP Camera that uses the RTSP protocol to stream video, and would like to make it work on iOS using the Safari browser. According to the Safari documentation 1    Safari on the de...
asked by 13.02.2015 / 18:35
0
answers

How to make ajax calls through the reverse proxy in an elegant way?

I have a project that validates, in JavaScript, the structure of a JSON. Here is more or less the structure I had used to do the asynchronous redemption of the structure, as well as what would be the static redemption for a default structure of...
asked by 07.08.2018 / 22:35
2
answers

HTTP requests in C ++

How can I make a request in a URL that would return a jSON in C ++? I need to access a /return.php URL that returns the string {"status":true,"hash":"12#87!!3@WSS\/.","user":"admin"} and work on my project, accessing json as obj.status f...
asked by 05.09.2014 / 16:34
1
answer

Every HTTPS and HTTP connection is always attached to port 443 and 80 respectively?

Every HTTP connection always has port 80 and every HTTPS connection always has port 443? I realize that browsers do not require you to pass the port to make connections to those specific ports. Are all HTTP and HTTPS connections port 80 an...
asked by 10.07.2016 / 00:56
1
answer

How to avoid data conflict between two PUT requests in HTTP?

What techniques can we use to avoid collision between data from two PUT requests so that the changes in the second request do not override the first request? Let's imagine the situation: There is a product registered in a virtual store s...
asked by 04.08.2018 / 00:12