✨ new endpoint
This commit is contained in:
parent
2f7536310c
commit
bf9334ed1f
3 changed files with 7 additions and 1 deletions
|
@ -37,6 +37,10 @@ type Evaluation struct {
|
|||
func main() {
|
||||
router := gin.Default()
|
||||
router.Use(cors.Default())
|
||||
|
||||
router.GET("/hello", func(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, gin.H{"hello":"world"})
|
||||
})
|
||||
|
||||
// Info about user
|
||||
router.POST("/submituserform", func(c *gin.Context) {
|
||||
|
|
Reference in a new issue