Questions tagged as 'cabeceras-http'

2
answers

Problem with header () in PHP

I have this warning:    Warning: Can not modify header information - headers already sent I do not know what may be wrong with header. This is my code: <!DOCTYPE html> <!-- * * @author Zarate --> <?php in...
asked by 08.01.2018 / 03:06
2
answers

How do I solve the CORS problem in JavaEE and Angular

I have a CORS problem that I have no idea where it comes from, I am creating a REST service in JavaEE (Glassfish) and I have Front an Angular app consuming the aforementioned service, I am testing the token authentication with the JJWT...
asked by 29.05.2018 / 23:58
1
answer

Date in HTTP header Date incorrect?

After an HTTP request to a REST api I receive the following header HTTP/1.1 200 OK Server: RestDriver POST/1.0 Date: mer, 10 gen 2018 13:20:34 GMT The time of my system, being "01:00 GMT", indicated to me 13:20:34 Is the Date header inv...
asked by 10.01.2018 / 13:29
1
answer

Unexpected token N in JSON at position 0

Guys I have an error that in my NodeJS rest API, and can not resolve this. My idea is to do a github login, this application works like this: Redirection to github by returning a temporary code in callback. Send this temporary code to m...
asked by 27.01.2017 / 18:37
1
answer

Ques means the 'boundary' parameter in http requests

I am developing an app in ios that sends images to a server from swift. When doing the body of the request POSt I have to indicate several times the parameter boundary . What does this parameter mean? Here is an example of my...
asked by 26.08.2016 / 14:07
0
answers

IONIC 3-4 HTTP HEADERT

I'm doing a GET request with header, which has basic Auth, I'm getting the following error link it seems that it is not sent let token = "Basic ************="; let headers = new HttpHeaders({ "Content-Type": "application/js...
asked by 02.08.2018 / 20:10
0
answers

Create txt file and download asp.net

byte[] binaryCertData = Convert.FromBase64String(lstSellosCliente[0].ArchivoCer); var objCert = new System.Security.Cryptography.X509Certificates.X509Certificate2(binaryCertData); StringBuilder objSB = new StringBuilder(); objSB.A...
asked by 26.06.2018 / 01:26
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
2
answers

Problem with header () in PHP

I have this warning:    Warning: Can not modify header information - headers already sent I do not know what may be wrong with header. This is my code: <!DOCTYPE html> <!-- * * @author Zarate --> <?php in...
asked by 08.01.2018 / 03:06
1
answer

Angular 4 Change headers

I am implementing an api that I do in laravel, without any problem when testing with Postman, but when making the connection with Angular 4, as I have to send custom headers, they modify the method from POST to OPTIONS, so the endpoints do not w...
asked by 25.09.2017 / 06:52