Category "http"

Get and render image from API in (Vue)JS?

I have a website running VueJS at localhost:3000 which does some stuff to call this.nextImage(). methods: // content // async nextImage() { console.log("In

How to solve flutter web api cors error only with dart code?

It seems like CORS error is well-known issue in the web field. But I tried flutter web for the first time ever and I faced critical error. The code below worked

Can you use an IIS to pass through an API-Call?

I do have a working API on one of my servers, lets call him server_one. So if my HTTP POST is something like https://server_one/api/xyz is there any chance i ca

Can I enforce query parameter order in OpenApi?

The reason is for CDN cache entries. Those are specific strings used as cache keys and to invalidate them they need to match. Preferably, I'd like to enforce th

Slideshow images load on page reload Rails & OwlSlideshow

I'm facing the following problem: I'm using an external API that returns a image hash that has multiple images. When I enter the show page for the element that

How to upload Multiple Images to rest API in Flutter?

I am trying to upload upload multiple images to Rest API in flutter. the code i have written is given below: final List<File> _image = []; Future<F

Parse Content Disposition header in GO

I am trying to retrieve the filename from this http writer for testing purposes. On the server I have: func servefile(w http.ResponseWriter, r *http.Request ) {

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