Category "http"

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

Strange behaviour in getting Real User IP [closed]

Maybe someone could help me understand, because I m facing something that seems strange for me... maybe for a lake of knowledge arround http r

How can I POST data in real time using FastAPI?

I built a simple demo project using FastAPI. I would like to POST data to the server in real time (maybe 30fps). # in client while True: .... res = requ

Flutter: SyntaxError: Unexpected token < in JSON at position 0

I need to fetch data from API but my try-catch fails with SyntaxError: Unexpected token < in JSON at position 0. Code: String problems; try {

Multiple HTTP active sessions connected to an application

Given a C++-application running on a linux-pc. It has an integrated webserver associated with one thread. Considering that, is it possible to have more than one

Proxy to SSL Endpoint with webpack-dev-server proxy

I am trying to do an axios GET request in vue3: vue.config.js module.exports = defineConfig({ transpileDependencies: true, devServer: { proxy: 'https://

Get and render image from API in (Vue)JS?

I have a website running VueJS at localhost:3000 which does some stuff to call this.nextImage(). methods: // content // async nextImage() { console.log("In

How to solve flutter web api cors error only with dart code?

It seems like CORS error is well-known issue in the web field. But I tried flutter web for the first time ever and I faced critical error. The code below worked

Can you use an IIS to pass through an API-Call?

I do have a working API on one of my servers, lets call him server_one. So if my HTTP POST is something like https://server_one/api/xyz is there any chance i ca

Can I enforce query parameter order in OpenApi?

The reason is for CDN cache entries. Those are specific strings used as cache keys and to invalidate them they need to match. Preferably, I'd like to enforce th

Slideshow images load on page reload Rails & OwlSlideshow

I'm facing the following problem: I'm using an external API that returns a image hash that has multiple images. When I enter the show page for the element that

How to upload Multiple Images to rest API in Flutter?

I am trying to upload upload multiple images to Rest API in flutter. the code i have written is given below: final List<File> _image = []; Future<F