Questions tagged as 'http-status'

2
answers

Consuming web service wsdl .net framework 2.0

When generating the request with all the correct parameters I have the return error 307 temporary redirect. Can you tell me what this error means?     
asked by 28.09.2017 / 16:08
1
answer

Ignore http error code when using file_get_contents

I'm using file_get_contents to make a request to a url. This request may return a 422 error. When this 422 error is returned, I need to capture the body, which comes in JSON format. However, file_get_contents d...
asked by 29.11.2016 / 20:19
1
answer

How to identify an http (500) error via selenium web driver or javascript

I need to mount a script that will scan certain pages and find http errors, specific to 500. I thought about doing a selenium script, but I do not know a command that I can "read" this type of error. Can anyone tell me if selenium has any comman...
asked by 10.09.2016 / 05:03
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
2
answers

What is the proper http code to respond to the content of an image?

Well, the question is quite straightforward. I'm wanting to use PHP to respond to the content of an image. However, I would like to know if the http status type will have any impact on the client (such as cache images in the browser). In t...
asked by 01.07.2015 / 16:06
1
answer

HTTP (Post) Bad Request 400 - How to solve?

I am making a post, but my server is not sending an error (400). Below is the server code. const express = require('express'); const app = express(); const bodyParser = require('body-parser'); const mysql = require('mysql');...
asked by 28.09.2018 / 21:48
0
answers

Store return JSON mORMot server with Javascript authentication

Speak up! I would like to know how I can store the return of authentication via javascript on a server with mORMot. I need to store the authorization key to send along with the requisitions. Follow the javascript code that I use to authent...
asked by 13.04.2018 / 20:50
0
answers

Consuming WEB API ASP.NET MVC 4 [ERROR]

I have a problem ... I put my web api in locaweb ... But if I use the link in the project, it does not work and returns me "StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content : System.Net.Http.StreamContent ". I though...
asked by 30.05.2017 / 23:35
1
answer

Apache / PHP returning default http status

I'm creating a REST api in PHP, and in certain situations I return an HTTP status with the specific error message for what happened, for example, 403 Invalid Access Key instead of simply 403 Forbidden . I'm using php's header () function t...
asked by 24.08.2016 / 13:37
1
answer

HTTP Status 404 - /alfresco/testCMISfromJS.html [closed]

I'm trying to run an HTML file in Alfresco, which I put inside the folder (folderresult) / tomcat / webapps. Then I tried to run link but I get the error: HTTP Status 404 - /alfresco/testCMISfromJS.html type Status report message /alfres...
asked by 27.09.2015 / 13:28