I
I
Igor2015-12-13 21:53:36
go
Igor, 2015-12-13 21:53:36

How to get DELETE query parameters in GO?

From a POST request, you can access the parameters like this:

http.Request.Form
http.Request.PostForm

However, in the DELETE method, the specified variables do not contain the Form Data.
How to read Form Data in DELETE?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2015-12-13
@Denormalization

www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
The DELETE data must be part of the url. Go as far as I know follows the specification.
Many emulate the DELETE method via POST + add. the _method field in the request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question