Skip to content

Commit f4fc7e9

Browse files
fix method
1 parent 26b4fdb commit f4fc7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/router.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func SetupRoutes(
1313

1414
router.HandleFunc("/architectures", shellCodeController.GetAllArchitectures).Methods("GET")
1515
router.HandleFunc("/architectures/{id}/shellcodes", shellCodeController.GetShellcodesByArchitectureID).Methods("GET")
16-
router.HandleFunc("/load-data", shellCodeController.LoadData).Methods("POST")
16+
router.HandleFunc("/load-data", shellCodeController.LoadData).Methods("GET")
1717

1818
return router
1919
}

0 commit comments

Comments
 (0)