Ive just been completely stumped by a question a permie has asked me (please bear with me - I'm primarily a SQL dev).
I have a page that redirects to another page passing a postcode on the query string. Pretty standard stuff but he asked me why I'm doing a get instead of a post. And I couldn't really answer him.
This isn't sensitive data - is there any reason to use a post over a get in this scenario? Or for that matter a get over a post? I should imagine a post involves squirting more markup over the wire but I have an all encompassing form in the master page anyway so I can't really use that argument.
I'm guessing that in this instance it doesn't matter and it is just a spurious question from a permie.
I have a page that redirects to another page passing a postcode on the query string. Pretty standard stuff but he asked me why I'm doing a get instead of a post. And I couldn't really answer him.
This isn't sensitive data - is there any reason to use a post over a get in this scenario? Or for that matter a get over a post? I should imagine a post involves squirting more markup over the wire but I have an all encompassing form in the master page anyway so I can't really use that argument.
I'm guessing that in this instance it doesn't matter and it is just a spurious question from a permie.
Comment