Top "Httpresponse" questions

An HTTP response is a network message which is made of a body and metadata in the form of headers, according to HTTP specification.

Angular 6: HttpErrorResponse SyntaxError: Unexpected token s in JSON

I am posting a request and I am suppose to receive a 'success' string back as response. I am getting …

angular rest typescript xmlhttprequest httpresponse
Is it possible to set a cookie during a redirect in ASP.NET?

I am using ASP.NET. I either add or set a cookie (depending on whether the HttpRequest contains a cookie …

asp.net httpresponse httpcontext response.redirect httpcookie
Spring security - creating 403 Access denied custom response

I have a spring boot rest api with jwt authentication. The problem is i cannot get rid of default 403 Access …

java spring rest spring-security httpresponse
java.lang.NoSuchMethodError: No virtual method execute for HttpClientResponse

When I try to run the app after launching it is showing exception in logcat like this: java.lang.NoSuchMethodError: …

android android-studio httpresponse apache-httpclient-4.x nosuchmethoderror
How to specify a generic type class for Swagger API response

I have about 40 APIs that have similar base response structure as follows: { "lastAccessed": "2015-30-08:14:21:45T", "createdOn": "2015-30-07:09:04:10T", "…

java generics swagger httpresponse
Reread a response body from JavaScript's fetch

fetch() returns promise which (if successful) resolves to a Response object. A very common thing to do is immediately call …

javascript json stream fetch httpresponse
How to implement proper HTTP error handling in .NET MVC 2?

I've been struggling all day to implement error handling in my ASP.NET MVC 2 app. I've looked at a variety …

asp.net-mvc asp.net-mvc-2 http error-handling httpresponse
What is the proper HTTP response to send for requests that require SSL/TLS

I'm designing an RESTful API where some calls are public over HTTP, and some require an API key and encryption …

http rest ssl https httpresponse
Difference between http response status code 402 and 403

Friends and fellow users, We have both 402 and 403 http response codes. Though, 402 is reserved for future use. What is (or …

http httpresponse http-status-codes http-status-code-403