Category "http"

Angular - Cannot read properties of undefined (reading 'forEach') by trying to manipulate variable after an HTTP call

I'm trying to manipulate a variable after an HTTP call. I want to use functions such as .push() or .forEach(), but it doesn't allow me because data isn't assign

Why do I get "The response ended prematurely" when using the HttpClient in C#?

My first code of HTTP Client in .Net Core. The server is running on my PC as well, so I want to send it to localhost. I've added printing of the inner exception

As a client app, how do I get the 'x-amzn-oidc-*' headers forwaded to me from Amazon Load Balancers (ALB)?

I'm planning on setting up ALB (Amazon Load Balancer) for authentication. It'll sit in front of my client app and only forward authenticated requests with the a

Getting error while POST request with large payload

Facing this issue when I am passing a large(66kb) payload with a POST request. It works for a smaller payload. PS: I am using http in the request as suggested b

Keycloak gives me XMLHttpRequest error. with flutter but don't with postman

Goodmorning, I'm trying to use keycloak and flutter but unfortunally when i ask the token to keycloak he gives me an XMLHttpRequestError. I use thos method to a

How can I send documents with http request to power automate?

How can I send array documents and images with an HTTP request to power automate? I am using type script with nodejs as backend. Please see the code I am using

Docker container does not respond to http request

I'm trying to send an http request through axios, from my localhost (node server) to a docker container (which contains a simple server in node too) which belon

Set request timeout at connection pool level using hackney and HTTPoison

I am using httpoison which uses Hackney under the hood to make HTTP requests. By default, Hackney uses a default connection pool which is created with - connect

How to prevent sending cookies from UI using react to backend for selective apis

In our application , there are certain cookies related to analytics etc which are being sent as part of every request api from frontend, we are not explicity se

In Kibana, querying, how to search for responses of successful bruteforce attack on a password for an account and port scanning of a webserver? Thanks

I would like to learn more about using Kibana in querying/ searching indications of certain attack events, such as bruteforcing an account, scanning/enumerating

How to send body data and headers with axios get request?

I've tried axios.get(url, {headers:{},data:{}}) But it doesn't work with this.

Synchronize sending data to the server, whether there is internet or not in Flutter

I am trying to add the temporal feature in my application so that if there is an Internet, the data is sent in the application, and in the absence of the Intern

Is it possible to set breakpoint in devtools when cookie is set?

I'd like to set breakpoint when cookie is being set, either by HTTP response header Set-Cookie or by javascript document.cookie='cookie1=value1. I need this bec

how to exchange code to token in Ory Hydra

I'm following Ory Hydra 5 Minute Tutorial. This tutorial uses a sample Webapp and I'm trying to understand the flow how to convert Code to Token via HTTP POST.

How to get the actual download link embedded with any "Download" button

I have this code to download a big file in chunks: import requests from tqdm import tqdm def get_size(url): response = requests.head(url) size = int(r

How does a browser know if a site supports HTTP/3?

I have a kind of the same question as How does a browser know if a site supports HTTP/2?. I am wondering how the browser knows website support http3. I am using

How to redirect the user back to the home page using FastAPI, after submitting an HTML form?

I have a page with a table of students. I added a button that allows you to add a new row to the table. To do this, I redirect the user to a page with input for

SocketException (SocketException: Failed host lookup: 'test' (OS Error: nodename nor servname provided, or not known, errno = 8))

I've looked elsewhere and every site keeps telling me this is effectively an internet connectivity error... But I know that can't be correct. I'm using Flutte

Are HTTP query string parameters and form field names containing dot (`.`) discouraged or prohibited in modern Web development?

I created a HTTP API endpoint for searching a database, it is used like this GET /orders?created_by.name=John&delivery_estimate.start=2022-06-01 Our web fr

RESTful API: how to distinguish users requests from front-end requests?

So, I have a RESTful API (built with Hapi.js) that has endpoints consumed by users and my front-end app (built with Next.js). GET api/candies is one of them, I'