If I receive an email in any email client be it Outlook, GMail, etc and the email contains a link to a website, is it possible to perform a POST request to the website as opposed to a GET request?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

For information retrieval, including links made with <a href>, only GET can be used.

If you want POST for whatever reason, you'll have to create a <form method="post"> with a submit button. (And think carefully about whether you need it; it's an ugly way to track users, and it's uncacheable.)

link|improve this answer
So I can create a form post action/method into a HTML email that is received by an email client? Would there be any issues? What do you mean by it is uncacheable? – PeanutsMonkey Jan 25 at 21:43
Both get and post can only be targetted as something that understands http requests - so a web server. An email client could not be the target. – Paul Feb 9 at 21:53
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.