Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION html form with post method
#5
(2014-10-08, 00:48:42)shawn_a Wrote: My guess is there is a redirect occurring before your code runs, so you are losing the data.

learn how to use your browsers development tools to inspect the headers etc.
chrome F12

Thanks for the suggestion. I've looked at Chrome's developer tools and while I couldn't work out if it was redirecting I did notice that it wasn't being treated as form data but request payload, which was because I was using enctype text/plain for the form instead of the default.
Reply


Messages In This Thread
html form with post method - by pewu - 2014-09-30, 23:14:41
RE: html form with post method - by pewu - 2014-10-01, 05:31:00
RE: html form with post method - by beaksdale - 2014-10-08, 00:30:19
RE: html form with post method - by shawn_a - 2014-10-08, 00:48:42
RE: html form with post method - by beaksdale - 2014-10-08, 02:07:44
RE: html form with post method - by shawn_a - 2014-10-08, 03:05:50



Users browsing this thread: 2 Guest(s)