Questions tagged as 'http'

2
answers

Fit fields of a webservice

My question is this: I need to access a server that provides me with the temperature of a place by indicating what that place is, from a Java application. For now that I get an http request request the problem is that they give me too much redun...
asked by 26.05.2016 / 17:07
1
answer

Consume WCP WebService with proxy and Anonymous Autehntication

I am working on a project that has two parts, a WCF application, which is hosted on IIS. This application is consumed by another application but desktop. The applications work perfectly, both in the development environment and in a production...
asked by 19.12.2018 / 22:57
1
answer

How to receive text, files by the put method in laravel 5.6 (api restFULL)

I am developing APIS with laravel 5.6, I have a driver that receives images and text, by post everything works normally for me here I leave the code js JS function registraPET(){ var datos = new FormData();...
asked by 12.12.2018 / 19:03
0
answers

Error in the external response?

I want to make a request to an external URL. The response you send is a string separated by "|" Ejmple: "una | ves". My code of the method of my service: getDatosPersonaFromReniec(numerDni: string) { let nombreApellido; /*$.ajax({...
asked by 08.12.2018 / 16:43
0
answers

DO NOT redirect to HTTPs some services with TRAEFIK

I have mounted tráfik in Docker with the following configuration in TOML : defaultEntryPoints = ["http", "https"] [entryPoints] [entryPoints.http] address = ":80" [entryPoints.http.redirect] entryPoint = "https" [entryPoin...
asked by 26.11.2018 / 11:45
0
answers

Send HTTP POST REQUEST in JSON format to the firebase API

I am developing a APP of sending PUSH , from a APP I could send a HTTP POST to API of firebase , this means that when this message arrives at the API it is entrusted to send a PUSH to all the nodes...
asked by 23.11.2018 / 16:49
1
answer

Errno 99 Can not assign requested address Request Method: POST Request URL

I get the following error when doing a user registration in django-rest-framework using the path / rest-auth / registration / [Errno 99] Can not assign requested address Request Method: POST Request URL: link Django Version: 1.11.2 Python...
asked by 09.11.2018 / 15:48
2
answers

Tried POST in AndroidStudio (error 400)

I'm doing an App on Android and I need to connect to an API hosted on localhost. /** Creating Connection **/ URL serverAddress = new URL(link); HttpURLConnection connection = (HttpURLConnectio...
asked by 25.10.2018 / 14:22
0
answers

Error with Angular 2 to create Post and HTTP response

Because when creating a Post, the json returns by default, I have my service.ts addRestaurante(restaurante: Restaurante) { let json = JSON.stringify(restaurante); let params = "json="+json; let headers = new Headers({'Con...
asked by 16.10.2018 / 01:10
0
answers

How to display the PHP error message in JavaScript?

The problem is that to get the php data, if there is an error in php it shows an error like this: What I want is to know how to show that error in the browser console. I have this snippet of code in javascript using angularjs var app...
asked by 12.10.2018 / 04:51