Category "http"

Flutter http request not accepting headers but it works on postman

I am getting a really frustrating experience. Am making a post request to an api, works well on postman but refuses to work on flutter. Here is the error respo

How to manually extract context or span from incoming http request in NodeJS?

I trying to migrate my Node.js application from jaeger-client to @opentelemetry/* packages In my Node.js application i have a simple http server and i want to c

Nested REST API resource not found

This feels like what should be a very common question but I cannot find anything related to it. I am working on a 'REST' API with nested / sub-resources GET /us

Handling this website which is redirecting to the same url with BeautifulSoup

So I'm scrapping this website: https://www.hepsiburada.com/apple-macbook-pro-m1-cip-8gb-256gb-ssd-macos-13-qhd-tasinabilir-bilgisayar-uzay-grisi-myd82tu-a-p-HBV

HTTP Response Error - Firebase + Node JS 16

I've reduced my code to the bare minimum to troubleshoot why I receive a response error when I put a HTTP request in. I first receive a status 200 message upon

How to use Zabbix's CurlHttpRequest() in JavaScript?

I am learning Zabbix. I would like to use CurlHttpRequest() and all these functions: I can't find the documentation (what's going on inside). I would like to r

How to make in java an http post returning binary data using plain Sockets

Because some restrictions, I have to use plain Java sockets to download a file published in a http web site. This is how i am reading the response: String serve

Mapping a Subdomain to a NodeJS web server running in a docker container with a specific port?

I have a server running Pterodactyl panel which uses Docker. I'm using a Nodemon js egg to run a Node JS webserver I developed. The server uses 5500 as the port

type 'never[]' is missing the following properties from type 'Observable<Customer[]>'

I want to fetch customers list from my back-end via get Http call. But i am unable to declare array of customers in my component. I have customer.interface.ts l

Empty Body HTTP Post request Flutter

I am trying to send a Post request but the body of the request is meant to be empty and I have tried the endpoint on postman with an empty body and it works. Bu

Using Mitmproxy to strip SSL in a proxy chain results in maxRedirects-error

I want to setup the following Infrastructure, however I have issues with MITMProxy. Client --https--> MITMproxy --http--> squid --https--> Internet So

Uncaught (in promise) SyntaxError: Unexpected token in JSON at position 0 And 504 connection error to ipfs

I am trying to render NFTs I've created and am getting a 504 (timeout) error. This is very strange because it was working a while ago and I didn't actually chan

Getting "Failed to establish a new connection: [Errno -3] Temporary failure in name resolution" in Uvicorn server in Docker environment

I am getting the below exception while making a call from my project- My code is deployed on Docker and inside it running python uvicorn server. I have double c

how to show a pdf fetched from an API response in flutter?

I am working in a project where I have to show certificate that the user finished a course, there is an URL of the API that uses the get method within a token t

how to delete an object from list in flutter

i want to delete an object from list of inventory in which i just have description and url of the inventory and i want to delete object of inventory by descript

How to solve missing CORS headers when user defined headers provided?

Having troubles with providing Authorization header for requests: const response = await fetch(url, { method: 'GET', }); This works properly, and r

Unable to Setup\Connect to AWS Lightsail TCP Server

I have created a rust tcp server framework. (https://github.com/HasinZaman/SingleThreadServer) The framework works fine without any issue on my local machine; a

Post Request Returning {"error": "Expecting a string", "result":87}

I am trying to interface with the Chroma SDK released by Razer and have been running into some issues. Following the documentation that razer provides, I have b

Non integer HTTP response codes possible?

I am aware of standard HTTP response codes and their categorization (1xx, 2xx, 3xx, 4xx and 5xx) But, I have seen certain web requests return non-standard HTTP

__Headers in .htaccess-file to secure website__

I wish you all a good day and a nice start in the Weekend :) I set the next Headers in htaccess-file: # Security Headers <IfModule mod_headers.c> -