Category "http"

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

How to add the username and passwords to a request in java spring

I'm currently trying to add security to my spring application and just want to know how can i add the credentials to the request so that it has the security acc

How to test NestJs response interceptor

I tried to follow this thread but it I keep getting an error. transform-response.interceptor.ts: import { Injectable, NestInterceptor, ExecutionContext, CallHan

Can't request to https://registry.npmjs.org using nodejs

I want to write a program to show some npm packages, there's example code: const https = require('node:https') const url = 'https://registry.npmjs.com/vue' co

Not able to catch 401 status code in Angular 7 HTTP Interceptor

I am using Angular 7 and I have used HTTP Interceptor in my application. I am not able to track 401 status code in that HTTP Interceptor. I tried pitting cat

SetCookie() couldn't set dot prefix for domain

package main import ( "time" "github.com/gin-gonic/gin" ) func main() { r := gin.Default() r.GET("/ping", func(c *gin.Context) { c.Se

@capacitor-community/http plugin import bundled with webpack throws SyntaxError in Android Studio

I am importing @capacitor-community/http plugin in a .js file: import { Http } from '@capacitor-community/http'; which is then bundled with webpack in

How to request the data of only one cryptocurrency using CoinMarketCap api?

i know how to request data of many cryptocurrencies using CoinMarketCap api by setting start and limit params but, it is possible to request the data of only on

How to add X-Frame-Options and Content Security Policy to the React app?

Since I got X-Frame-Options and Content Security Policy as security vulnerabilities. Can someone help me with how to use in react web apps?

Flutter: EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE

When I use Network Image, it's show me render error like this. error : ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞══

Need help parsing link from iframe using BeautifulSoup and Python3

I have this url here, and I'm trying to get the video's source link, but it's located within an iframe. The video url is https://ndisk.cizgifilmlerizle.com... i

Postman and content-length

From my laptop I initiated a POST request to my web server. The HTTP POST request looks something like this (when seen via POSTMAN console) POST /api/fwupgrade

API call terminate when screen gets off (or app goes background) IOS Flutter

I have a login page which starts downloading base data for the app after user enters username and password, and its a long duration operation like 2 or 3 minute

HTTP Error 418 (Teapot Error) on Link to FlightRadar24 When Server on Localhost

I am writing a Rails web application that presents OurAirports airport data to the user. One convenience I provide is a link to the FlightRadar24 web site for t

How to send List of objects in a multipart request in flutter?

I want to send a List of ManageTagModel in a multipart request along with other models and files.. I am not certain of how to send this List of model.. This i

HTTP Range requests with php for Video Embedding for solving going to specific time in video (seek bar not work)

i'm trying to run a video through php file. it's worked.but the problem is that when i try to go to special time in video it replay the video from the beginning

How do I update Python variables in txt in real time?

I have the code below who does the work, it writes to my txt file but it will take only the last http request. The counter seems not to work, but when I use glo

is there any way to handle HTTP/2 Goaway received IOException in HttpClient java?

I am making API calls in the application, At some point randomly it throws java.io.IOException: /149.222.1.1:553232: GOAWAY received, using Java 11 environment.

Web Api Return File with additional data

I'm returning a file as follows: public async Task<IActionResult> GetFile(string id) { try { Get