Category "http"

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

How to add both file and JSON body in a FastAPI POST request?

Specifically, I want the below example to work: from typing import List from pydantic import BaseModel from fastapi import FastAPI, UploadFile, File app = Fas

Getting a response status code with lua-request

How is it possible to get the response status code of a request using lua-http ? If that is not possible with it what module/library should i use ?

Corrupted .gif download file using rust but without rust using curl command it works

Hi I tried to download a .gif file using curl command in Linux fedora 36 using curl https://static.wikia.nocookie.net/minecraft_gamepedia/images/d/d1/Magma_Bloc

Flutter web app does not work with local golang http server

I know it sounds like a beginner's question, but here I go: I've developed a small app to be used locally in restaurants for the waiters to be able to take orde

How to fix Invalid request (Unsupported SSL request)

I'm setting up my laravel application and every time I run php artisan serve, it starts a laravel development serve at localhost:8000. Bu when i open the locaho

file_get_contents(): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

I am getting the error Warning: file_get_contents(https://partner.uat.shopeemobile.com/api/v1/item/categories/get): failed to open stream: HTTP request failed!

Why Doesn't my Authorization Header need "Bearer"?

I am currently working with a group of applications that are running on two separate, but equivalent, environments (Referred to as ENV1 and ENV2). I have been u

Godaddy URL redirect from HTTP to HTTPS

I host my website on heroku and bought the domain from godaddy, here's how I set my DNS records Records A - @ - Forwaded - 600 secs CNAME - www - example.com

React Native Axios get response Skipped and Status Code 0

I got a problem with my react native app. while accessing API, I get a response Skipped and status code 0. it's shown by using reactotron to log the api respons

How are Moleculer transporters are different from http request calls?

I am implementing microservices architecture, there I learned a new topic "Transporter" which is used for the communication between different services. But the

Cannot recognize image upload at Google Drive in js

i'm trying to upload image file at google drive, using oauth token & fetch url. https://developers.google.com/drive/api/v3/manage-uploads Perform a multipar