Skip to content

Commit 76848b8

Browse files
committed
fix: api method allowed
1 parent 3f32322 commit 76848b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/query-service/app/http_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type structuredError struct {
5555
// RegisterRoutes registers routes for this handler on the given router
5656
func (aH *APIHandler) RegisterRoutes(router *mux.Router) {
5757

58-
router.HandleFunc("/api/v1/user", aH.user).Methods(http.MethodGet)
58+
router.HandleFunc("/api/v1/user", aH.user).Methods(http.MethodPost)
5959
// router.HandleFunc("/api/v1/get_percentiles", aH.getApplicationPercentiles).Methods(http.MethodGet)
6060
router.HandleFunc("/api/v1/services", aH.getServices).Methods(http.MethodGet)
6161
router.HandleFunc("/api/v1/services/list", aH.getServicesList).Methods(http.MethodGet)

0 commit comments

Comments
 (0)