R
R
recloudor2016-07-13 08:10:30
go
recloudor, 2016-07-13 08:10:30

go. Why is a Get request on a specific URL not being handled?

I am using gin.
router.GET("/actinfo", app.InfoPageHand)
I throw a request /actinfo?q=some
All requests except for q equal to some are executed.
It just does not give control to the handle, but marks it as NotFound > redirects to the main one.
Maybe certain urls are being blocked somewhere?
It was not only with this url with parameters.
Some routes were also marked as not found, I'll change the name of the link, and everything is ok.
With what can be connected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Grabko, 2016-07-13
@recloudor

Gin is the problem. Why don't you just use ready-made components? There will be fewer dances with a tambourine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question