is, I haven't been able to
find an answer since past week :/
So, I'm making an ajax call with the following header:
"Content-Type"-"application/x-www-form-urlencoded"
But I'm not able to get data in my api via this:
uid := sanitize.HTML(r.FormValue("uid"))
pass := r.FormValue("pass")
So when I tried this:
fmt.Println(r.Form)
I got the following output:
map[{"uid":"mew@mew.com","pass":"mew"}:[]]
Soo..........thoughts? :)
Doesn't it seem like you got the correct information then?
Обсуждают сегодня