Questions tagged as 'http'

1
answer

What to return in a login when the user does not exist or exists but the password is wrong ?, using Retrofit

Good morning everyone. I am facing the following situation: I am making a login using Retrofit for the requests, these return the user's data when it is successfully logged in with a json. The validation is done by php, the problem aris...
asked by 07.10.2018 / 03:30
1
answer

Error websocket with catapult and typescript / angular

I am receiving 404 error, I am trying to connect to a Webservice in Typescript, the webservice is catapult, when opening the connection the output is http and not ws, even though in my url parameter I place ws: // mi- ip. import { Listener, Bl...
asked by 07.10.2018 / 01:25
0
answers

You do not send data to the node / express API from Angular

Hi, I want to send an object to the database from an Angular 6 service. but my code sends me an empty object to the database, HELP: import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; imp...
asked by 26.09.2018 / 02:05
0
answers

How to do a POST in Java by passing it a JSON in the body?

I am trying to POST a server from my Java application but the answer I get is a "400" - Bad client Request. Something I'm doing wrong. I leave my code to see if you can help me: package web.hpi; import java.io.BufferedReader; import java.i...
asked by 14.09.2018 / 15:35
0
answers

PDO query changing table

I need the following query made to a mysql database with the php function "PDO" allow me to send the name of the table from URL parameter and that in turn returns all the data in the table in JSON format consulted with the webservice through a b...
asked by 05.09.2018 / 23:00
0
answers

Problem with POST in angular 6 and ajax to send forms to formspree

I'm a bit new to Angular and I was trying to use the link service when I found out that the forms could not execute the POST method, here the code of my form <form class="form" [formGroup]="contactForm" method="POST" (ngSubmit)="onSub...
asked by 28.08.2018 / 05:43
0
answers

Go from http to https with activated SSL certificate in 1 & 1

I have a problem with my website hosted in 1 & 1 . I have activated the 1 & 1 SSL certificate and I can not connect from my computer using Dreamweaver to the remote 1 & 1 server and therefore I can not pass the link files to li...
asked by 25.08.2018 / 21:36
0
answers

problem with POST angular5 method?

It turns out that I am doing a project with angle 5 and when saving an audience in my case ... it shows me as a result a [Object Object] I would appreciate a hand! service audiencias(anio: string, mes: string) { const httpParams...
asked by 26.07.2018 / 20:55
0
answers

The page you are looking for can not be displayed (Error 405 Method PUT AND PATCH) Azure

Hello guys who can help I have a service in azure and I have an application made in laravel, it turns out that I have problems with the data updates stored in the database when updating any data inserted I get this error The page you are lookin...
asked by 23.06.2018 / 13:13
0
answers

HTTPS In MEAN Self-signed?

Hi, I would like to know if it is possible to create a self-signed and valid https page by google, because create a code with openssl in Ubuntu 16.0.4 But when generating the codes and putting them in node, I used to say that the signatures w...
asked by 23.06.2018 / 06:38