Category "http"

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

Golang WebSocket connection

I started learning Golang. And I have this project, where I need to stream some data from API via WebSocket connection, and print it in the console. And the t

REST: handling nested resources and paths

I have three resources, owner, dog, and puppy and I am designing the REST endpoints for the puppy. I already know who the owner is with every request via JWT a

DioError [DioErrorType.RESPONSE]: Http status error [405]

I am creating a post request Using Dio, this is my FormData params, FormData formData = FormData.fromMap({ 'wallet_id': '${dropdownValue.walletId}',

Do web workers allow you to go over the browser http connection limit?

There are a few questions on SO related to web worker http limits, including: Http connection limit on webworker or service worker, Maximum number of http reque