Questions tagged as 'http'

2
answers

Circular Dependency http 'Circular dependency found: $ http - AuthService - AuthInterceptor - $ http - $ templateRequest - $ route'

I'm having the problem of circular http dependency in the angular. I've seen other questions with similar subject matter, but the ways I've tried have not been able to resolve the problem yet. My Code: var app = angular.module("app", [...
asked by 15.02.2017 / 02:58
1
answer

Uploading images with c # windows forms and php

I've been trying to find a solution to my problem for at least two weeks and I can not seem to make it work. The idea is this: I have an application Windows Forms written in C# , in which I will have a OpenFileDialog that wil...
asked by 02.02.2017 / 00:01
1
answer

Concurrent.futures and Class object

I'm trying to create a class (Processor) that performs a series of functions to get results from a State-to-State API. (STATE) 1- READ DATA FROM A TABLE. 2- SEND request for the API to process. 3- WAIT jobs to be complete. 4- DOWNLOAD the re...
asked by 02.10.2016 / 23:30
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
1
answer

Keep connection active after a POST request

I'm trying to create a script to enable the bandwidth control QOS service of my router, but I'm doing something wrong because I can not keep the connection after making a POST request. local host = '192.168.0.1' local headers = [[]] local Lua...
asked by 03.08.2016 / 10:15
1
answer

Is it feasible to put an IdHTTPServer in a Mobile Application so that it receives instant messages from a remote server?

I want to make an application that receives notifications without browsing the server at all times, and is able to run in the background on Android. I will use the Firemoney platform, which uses object pascal to replace java. I'll use the Indy l...
asked by 28.06.2016 / 19:30
1
answer

Framework Ionic http request mobile [closed]

I have an ionic page that requests a page in codeigniter, I send the data and I receive it correctly, without problems in the browser, however when I transform in .apk and squeeze in the mobile the application until it turns however any button t...
asked by 27.05.2016 / 22:46
1
answer

HttpPost is not resolved in my class in my application

I can not import org.apache.http.conn class into my application in Eclipse. This is my class: package br.com.cadastro.cadastrocompleto.suporte; import java.io.IOException; public class WebClient { private String url; publ...
asked by 11.02.2016 / 16:00
1
answer

Error 502: Bad Gateway - How to solve

What's happening From yesterday morning, in a certain part of the site, in the user registry to be more accurate, many times when trying to do so, nginx returns the message of 502 - Bad Gateway . What can generate this? No site code was modi...
asked by 08.01.2016 / 15:17
1
answer

HttpWebRequest with SSL

When I have to reproduce a few steps ( GETS and POSTS ) of an access all https using .net I need to use ServicePointManager.ServerCertificateValidationCallback . So here's my question: do I have to declare before doing...
asked by 07.08.2015 / 13:36