Category "http"

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> -

How to run asp.net web api with docker container without https?

I am trying to run an asp.net web api with docker container but I get status code 400 (Bad request) as the response when I send a request to the api. The api w

nginx redirecting all subdomains (when it shouldn't)

I have an nginx server running. I want it to redirect http://www.example.com to https://www.example.com, but not touch any other subdomains like http://foo.exam

How to increase the maximum URL length for undertow server?

Is there a way to configure the undertow server to increase the maximum URL length that the server will accept?

Why heroku app is not accepting the form data?

I have deployed an app on Heroku that contains a form. When someone submits the form, the content of the form is stored in an Atlas MongoDB database. This works

Explain what is the advantage of websocket over sending normal http requests at intervals?

I hope the question is clear. What prevents just sending a GET request every 1 second, for example, what will be the difference?

Explain what is the advantage of websocket over sending normal http requests at intervals?

I hope the question is clear. What prevents just sending a GET request every 1 second, for example, what will be the difference?