Skip to main content

All Questions

Tagged with
1 vote
0 answers
44 views

run an automated integration test on an application with multiple modules

my application has 4 nodes. Node A and Node B are the SUTs. communication between those nodes is based on http protocol. The scenario as shown in the picture will be automatically done by the nodes ...
ee04395's user avatar
  • 57
2 votes
1 answer
88 views

Go file server doesn't serve folder

I am building a website with Golang, HTML, JS and CSS. Here is my folder structure: /data (Go files that contain data initialization) /handler (Go files for HTTP handling) /model (Go files ...
Seyit Ahmet Gökçe's user avatar
0 votes
0 answers
32 views

Springboot application and single page app: HTTP Status 405 – Method Not Allowed: post data not sent by browser

Configuring springboot for a single app page wasn't easy. I thought to meet a standard problem when debugging an react embedded in a springboot application. I read all the the posted questions about ...
sssimon's user avatar
  • 103
0 votes
1 answer
35 views

HTTP Authenticated Subject Alias Redirect

Given an HTTP REST service that manages identity data, for example, where a user resource is available at /Users/{id}, I would like to define a URI alias, /Me, that allows authenticated callers to ...
shelley's user avatar
  • 7,294
0 votes
3 answers
72 views

Using HTTP-response code 404 as a response to indicate that a resource was not found

I have recently had a discussion with some of my collegues about the 404 HTTP-response code. I have been using the response code as a way to indicate, that something was not found in one way or ...
HansBakn's user avatar
1 vote
1 answer
58 views

Spring Boot RestClient does not work when sending an object

I tried sending a POST request using Spring Boot 3 Http RestClient. The request fails when sending and object and passes when sending a string. Works with string code: private final String ...
user25486013's user avatar
0 votes
1 answer
55 views

Is It OK To Use ONLY (CSRF) Tokens For Authentication [closed]

Recently, I've learned that cookies are sent automatically with every request. And this behaviour makes some websites vulnerable to CSRF. From what I've learned, CSRF can be prevented by using CSRF ...
Omar Ahmed's user avatar
1 vote
1 answer
32 views

Is it good practice to modify a session with a GET request?

I am trying to implement an invitation system in Django, compatible with django-allauth. It is similar to django-invitations, but I have some requirements that require a custom implementation. After ...
Juanma Donado's user avatar
0 votes
0 answers
34 views

iPhone simulator can not send request to one specific endpoint

I am developing a Flutter app which sends http requests to my express.js rest api which runs on my server. It was working fine until yesterday when out of the blue it stopped working. All the request ...
Ertuğrul Faruk Pişkin's user avatar
1 vote
2 answers
107 views

How to return multiple field validation violations (`jakarta.validation.constraints`) in Spring Boot REST API?

The context: I have a REST API in my Spring Boot backend app. This REST API has HTTP POST endpoint with a request body. This request body as a java DTO class contains several fields (attributes). I ...
Zufar Sunagatov's user avatar
0 votes
0 answers
9 views

PowerApp & Flow - upload XLS binary to API endpoint

I am new to Powerapps and need to figure out how to send a XLS file as a POST request to an API endpoint. This is what a working CURL request would look like curl -X 'POST' \ 'http://mydomain:5000/...
El Dude's user avatar
  • 5,555
0 votes
1 answer
50 views

Why some servers do not accept body parameters in HTTP DELETE?

I actually come into this issue, when I am testing an API, which it does not accept a HTTP DELETE with body parameters, but accept query parameters. This is fine, but I am not convinced why body ...
CHANist's user avatar
  • 1,342
0 votes
0 answers
72 views

How to return warnings from a REST API

For errors we have RFC9457 which defines Problem Details. But what to use in case of a non fatal warning? Example: The client called GET /toast?color=charcoal The server is able to handle that request ...
wertzui's user avatar
  • 5,538
0 votes
0 answers
63 views

Why does my lambda function cause a resource leak in Java (using Quarkus)?

I have a Quarkus microservice (let's call it A) which makes a POST request to another microservice (let's call it B) using the RestClient. If A makes a request to B, but B is down (i.e. not started ...
RensV's user avatar
  • 47
0 votes
1 answer
54 views

Custom LoginController in Spring Security and post with Angular

Im trying to create my own LoginController so i can watch the data flow more closely, but either my post method is wrong or my controller is missing something. Whenever I try to send a login request ...
Ganbalv's user avatar

15 30 50 per page
1
2 3 4 5
286