Category "http"

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'

Can't Access Cookie in HTTP Response with Flutter

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

Download file from HTTP response NodeRed

In Node-Red, I'm trying to call an API that provides me with a csv file full of data, I make a http request and get the following return: { "_msgid": "60d0351dc

successfully display json in flutter, but not showing on android screen

I've managed to display API data to flutter, but strangely it only appears in the debug console, but when hot reloaded, the data appears on the android screen.

Connection to SSRS API via NTLM : handshake rejected

I try to connect to the SSRS REST API via NTLM and cURL, but the authentication fails. Here is my attempt: λ curl --ntlm -v -u localhost\osain http://loc

getting {"code":"unauthorized","message":"unauthorized access"} after using "query" http api for InfluxDB 2.0

I am trying to contact influxdb running on kubernetes. I am new on influxdb and I have just started using it. I used the query http API in the following way: cu

Is WebSocket compatible with HTTP/3

The upcoming HTTP/3 standard is no longer based on TCP, but on the QUIC protocol. WebSocket is based on TCP and is initiated as HTTP update. Is a WebSocket con