I'm using version 3.0.4 of spring-cloud-gateway (spring-cloud-dependencies 2020.0.4).
If i add a route via post-call to the routes endpoint and then send a post-call to the refresh endpoint, it returns a http code 200.
If i call the new route immediately afterwards, i get a code 404, but a short time later, the route works correct.
I think, the refresh endpoint should return a http code 202 to indicate, that processing possibly has not completed.
I'm using version 3.0.4 of spring-cloud-gateway (spring-cloud-dependencies 2020.0.4).
If i add a route via post-call to the routes endpoint and then send a post-call to the refresh endpoint, it returns a http code 200.
If i call the new route immediately afterwards, i get a code 404, but a short time later, the route works correct.
I think, the refresh endpoint should return a http code 202 to indicate, that processing possibly has not completed.