Category "http"

Why Interceptor not working with capacitor-community/http?

My problem is that my interceptors not working with library capacitor-community/http. I develop my app in Ionic and how can you see I provide interceptor in mod

Clean way extract path parameters from Camel HTTP endpoints

Ideally I would like to have a route like this: from("jetty:http://0.0.0.0:8080/{pathParam1}/{pathParam2) So that a consumer would then be able to access the

How to point to localhost:8000 with the Dart http package in Flutter?

I'm following the Flutter Networking/HTTP tutorial to do a GET request to a server running on my localhost:8000. Visiting my localhost via my browser works fine

What is the difference between PUT, POST and PATCH?

What is the difference between PUT, POST and PATCH methods in HTTP protocol?

Telegram bots API responds 403 Forbidden

I'm fairly new to programming and I want to make a simple bot for telegram. After creating new bot using bot father and getting token, I made a simple HTTP post

Round robin with failover with Apache http client

Looking the Apache HTTP components HttpClientBuilder and seeing that it has retry handler route planner backoff strategy I am wondering whether these are intend

Tunnel a localhost subdirectory through ngrok?

Objective: want to share a website preview using ngrok, which creates a tunnel from which my localhost can be seen with an url of something like mywebsite.ngrok

How to prevent Safari from dropping the Authorization header when following a same-origin redirect?

Safari seems to drop the Authorization header when following a same-origin 301 redirect. For example, this JS code: fetch("/api/endpoint-that-redirects", { head

Uploading a file to Google Docs Api getting error 504

I'm working on a delphi api for Google docs and having a hard time getting the upload to work. I'm following Google's development guide here and from what I und

Array does not connect with the tableView(numberOfRowsInSection) method

I have an array which I will store all data that I get from http request and display them on tableView but it seems that tableView(numberOfRowsInSection) does n

Better Event centric way to solve request-reply problem in Kafka or any streaming service

I am stuck in a problem while using Kafka in a microservice architecture . I am not able to understand how a microservice handling HTTP requests will be able to

Check if online resource is reachable with JavaScript, not requiring the The Same Origin Policy to allow it

I want to check if a server is reachable with a JavaScript function. By reachable, I mean, if the server answers, I don't care which HTTP status code, it's rea

RESTful - What should a DELETE response body contain

Let's say I have an API where you can get users: GET /RESTAPI/user/ And you can delete users by: DELETE /RESTAPI/user/123 What is the RESTful convention on wh

Python requests speed up using keep-alive

In the HTTP protocol you can send many requests in one socket using keep-alive and then receive the response from server at once, so that will significantly spe

Get a JSON file (that contains Hebrew values) from a remote server and parse it in Node.js

I have a dynamic JSON file hosted on a remote server (acting as some kind of an API), and it also contains some Hebrew text in its values. How can I save the r

HTTP simultaneous connections per host limit... are per tab, browser instance or global?

According to the HTTP Specification (w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4), HTTP clients should limit their connections: Clients that use per

How progressive rendering works?

First I'm going to explain how I think progressive rendering works so you can correct me if I'm wrong or missing something. When you request a page the browser

Angular 7: Sending post request gives error 405 (Method not allowed)

I have the CORS extension on Chrome and the GET request works fine but the POST request does not. I get the error "method not allowed" but since I have the CORS

How websockets can be faster than a simple HTTP request?

You still need to send requests from your computer to the website's server and back and forth. How can websockets make it so much faster?

How do I use Django piston to return a response in text/plain?

I want to NOT serialize anything. I just want to return what is equivalent to HttpResponse(blah)