Skip to content

Commit

Permalink
Use POST instead of GET for ejection requests (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix authored Apr 30, 2024
1 parent 752130a commit fbba806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disperser/dataapi/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (s *server) Start() error {
metrics.GET("/batcher-service-availability", s.FetchBatcherAvailability)
}
ejection := v1.Group("/ejection")
ejection.GET("/operators", s.EjectOperatorsHandler)
ejection.POST("/operators", s.EjectOperatorsHandler)
swagger := v1.Group("/swagger")
{
swagger.GET("/*any", ginswagger.WrapHandler(swaggerfiles.Handler))
Expand Down

0 comments on commit fbba806

Please sign in to comment.