http Questions

2

networking is my final course in my Masters degree. I do have a question regarding how to calculate Round Trip Time of http on non persistent, persistent and persistent with pipelining. After spen...
Jolty asked 1/7, 2016 at 17:34

2

I'm trying to catch http request's errors from an Angular interceptor and handle 401 as logout while retrying a 503 and 504 responses n times. This is my http interceptor: intercept(req: HttpRequ...
Centuple asked 18/4, 2019 at 15:16

7

I'm trying to download a private repository release using the browser_download_url that I got from the github API, but the URL is giving me 404 Not Found, I set up the Authentication : token <my...
Impedimenta asked 9/3, 2021 at 17:32

2

We are designing a public API, and trying to figure out what is the best practice for GET with following cases: Path param: /orders/{orderId} Found: 200 with a response body. Not Found: 404. Query...

2

We have REST API endpoints that all users are free to use and other endpoints that users can use if they have explicitly enabled and paid for some specific feature. What should be the correct stat...
Eiser asked 29/8, 2019 at 10:52

1

Exploring the Oxygen package to build APIs I found this I haven't been able to solve When I run this API (with a 150 ms sleep to simulate the time taken by a model): using Oxygen @get "/mod...
Risible asked 1/3 at 19:36

4

Solved

There are various one-liner HTTP server commands, e.g. the best-known is probably python -m http.server. I'm looking for a similar command which would run a server that ignores the file path and se...
Wade asked 10/12, 2019 at 13:2

2

I've updated the Angular application to version 18 (18.0.1). I'm facing some issues regarding the http requests on localhost. For most of the requests I'm getting a 404. I'm behind a corporate prox...
Ferocious asked 5/7 at 6:58

3

Solved

Word of notice: This is my first approach with asyncio, so I might have done something really stupid. Scenario is as follows: I need to "http-ping" a humongous list of urls to check if th...
Snowman asked 26/10, 2020 at 9:54

3

Solved

I have bundled all my js libraries into one large file in order to spare a number of http requests. But for some reason it takes 9.29 seconds (sometimes +15) to download this bundle of 1.2mb. In...
Ancohuma asked 2/8, 2018 at 13:18

3

Solved

I am creating a regular HTTP connection using this code: URLConnection cn = new URL( "http://...." ).openConnection(); cn.connect(); How do I find out the default user agent for my HTTP connecti...
Ecumenical asked 5/1, 2013 at 4:31

4

Solved

I am trying to send an HTTP/2 request using Postman. However, when my server receives the request, it gives an error: handle: <Handle _SelectorSocketTransport._read_ready()> Traceback (most r...
Vigilance asked 23/8, 2020 at 19:25

3

Solved

I've already checked several questions / answers regarding similar subjects, but can't find the proper answer for my case. I'm using Spring's RestTemplate but fails to get the response from a thir...
Hotien asked 27/7, 2016 at 13:44

2

Solved

REQUEST : URL: http://localhost:8080/RESTfulExample/rest/file/upload METHOD : POST HEADER: Content-Type : multipart/form-data RESPONSE : HTTP Status 400 - Bad Request The same code is working ...
Chiffchaff asked 8/9, 2016 at 6:23

5

Solved

When I use display filter for HTTP it shows only HTTP packets when HTTP message is on standard port i.e. on port 80. But, when message is not using standard port, then display filter not works for ...
Trebuchet asked 8/11, 2013 at 6:25

5

Solved

When making a request using HttpWebRequest object, I need to call the method GetResponse() to send the request and get the response back. The problem with this method is that it doesn't return the ...
Leonerd asked 15/5, 2010 at 22:29

3

Solved

Looking at https://tomcat.apache.org/tomcat-9.0-doc/config/http.html I see that 8KB is the default limit of Header Size in Tomcat Apache. The log shows the following when I make a request with hea...
Overblouse asked 30/12, 2019 at 14:49

4

Solved

I just manually implemented a facebook oauth2 flow into my webapp. After receiving the correct access_token and trying to call the graph api for user data I got a 400 BAD REQUEST as response. GET...
Desolate asked 4/9, 2014 at 9:59

5

I'm working on Flutter an app which will use Express based REST api. While implementing Cookie based sessions, I wanted to retrieve cookies from app with basic auth request but somehow I can't retr...
Lefler asked 14/10, 2019 at 14:34

1

I have an ASP.NET Core MVC web application that has an endpoint which returns some data as a json. The onlly issue is that my data is around 5 MBs of raw (non-idented) JSON, and the response takes ...
Quartered asked 22/7, 2018 at 11:20

3

Solved

Question How to modify the Status Code text (description/title)? Example For example: I want to change 200 (Ok) to 200 (My Custom Text) Desciption I want to create a HTTP response with custom ...
Nur asked 6/4, 2016 at 21:29

2

Solved

i am getting ClientException (Content size exceeds specified contentLength. 10911 bytes written while expected 5965. error on trying to upload m4a file to my server. i tried to send the exact same ...
Buchbinder asked 17/9, 2020 at 10:28

2

Solved

I have this tiny piece of code where I try to add prefixes for my HttpListener: listener = new HttpListener(); listener.Prefixes.Add("http://192.168.0.108:8088/"); listener.Start(); Which throws...
Heathenry asked 25/12, 2017 at 15:5

7

Solved

I am trying to get a token of a dot net core 2.0 web API. This is what I am doing: C:\Users\danyb>curl -X POST -H 'Content-Type:application/json'^ Mehr? -d '{\"username\":\"mario\...
Concubine asked 10/6, 2018 at 13:45

3

Solved

From the documentation it states that For server requests the Request Body is always non-nil but will return EOF immediately when no body is present. For ContentLength, the documentation stat...
Sacellum asked 22/9, 2015 at 7:28

© 2022 - 2024 — McMap. All rights reserved.