Spring

 View Only

 Just trying to understand why is actuator bus refresh endpoint a post method even if there is no request body and headers.

Sandhya Kondameedi's profile image
Sandhya Kondameedi posted Jan 10, 2019 12:23 AM

 

Daniel Mikusa's profile image
Daniel Mikusa

Only my $0.02, but the action is causing state change on the server so a GET would not be correct. Given it effects change, a POST or PUT would make sense. Also, POST and PUT do not necessarily need to require data, they just typically do.