redis icon indicating copy to clipboard operation
redis copied to clipboard

Err "missing form body" on POST request when the body is nil

Open akoserwal opened this issue 2 years ago • 0 comments

http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		r.Body = nil
		store, err := sessionManager.Start(context.Background(), w, r)
		if err != nil {
			fmt.Fprint(w, err)
			return
		}
}

Err:"missing form body"

akoserwal avatar Jul 04 '23 11:07 akoserwal