I´m trying like this, but mensaje is empty, How Can I receive the information? (Golang)
Asked
Active
Viewed 1,893 times
-1

Carlosra1375
- 35
- 5
-
2Use `ParseMultipartForm` instead of `ParseForm`. – mkopriva Feb 19 '22 at 10:38
-
3And please do *NOT* post images. Post the text of the code instead. The reasons for that have already been explained to you by Paul Hankin in a comment to your previous question. https://stackoverflow.com/questions/71183439/how-can-i-split-a-string-by-the-character?noredirect=1#comment125827770_71183439 – mkopriva Feb 19 '22 at 10:40
1 Answers
1
You can find full answer on your question in this thread: In Go's http package, how do I get the query string on a POST request?
tldr:
value := r.FormValue("field")

Timofey Belanenko
- 91
- 6