Category "http"

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?

should I consider the case sensitive when design the rest api url

Now I am design a rest api, what makes me confusing is that the url case sensitive, for example, the /currentUser, I read some api design like google: https://d

How to disable auto login redirect in Spring Boot Keycloak Adapter

I am writing an API in Spring Boot that I want to secure using Keycloak. After doing some setting up, I managed to get the keycloak adapter to work. While I was

How secure is HTTP POST over 4G/NB-IOT?

I am not really a true developer, so I apologize in advance for the naivety. How secure is HTTP POST over 4G LTE/NB-IOT? We aren't sending any sensitive data (t

How can i realize http-streaming of kafka messages to endpoint on Nodejs?

I've been trying to realize stream kafka messages by get endpoint on client side using http-streaming. Thats my kafka consumer, where i recieve messages from pr

How to send zip Files to a Node Server via HTTP POST? (server always only receives "{}")

For my Bachelor's Thesis, I am writing a program to visualize personal data requested via GDPR Art.20. Since this kind of data is normally zipped, I need to be