我可以在电子邮件中同时添加获取和发布URL链接吗? [英] Can I put both Get and Post URL link in an email

查看:195
本文介绍了我可以在电子邮件中同时添加获取和发布URL链接吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个新的Web应用程序,老板曾表示希望在发生某些变化时发送电子邮件,他希望能够点击电子邮件中的链接来批准或拒绝更改(单独或

我的问题:
是否可以在电子邮件中添加POST请求,如果是这样, ?我们在内部进行交易,在一些工作中,电子邮件可以完全停留在那里,但正常的事件过程会将电子邮件发送到广泛的蓝色方向。



我的奖金从第一个逻辑上来看,问题是否明智呢?我应该只是通过GET链接到一个允许他直接通过应用程序批准或拒绝请求的页面,而不是尝试在电子邮件中放置POST请求?

解决方案

不,您不能(以可点击的链接形式)。 HTTP POST请求在其正文中包含参数,而不是在URL中。


I am building a new web application, and the boss had expressed a preference to have an email sent when something changes, and he wants to be able to click on a link in the email to approve or deny the changes (singly or en masse).

My question: Is it possible to put a POST request in an email, and if so, how? We run exchange internally, and with some work the emails could stay entirely within that, but the normal course of events would send the emails into the wide blue yonder.

My bonus question, which follows logically from the first, is whether it is wise to do so? Should I just have a GET link to a page which allows him to approve or deny requests directly through the application, rather than try to put a POST request in an email?

解决方案

No, you cannot (in form of clickable link). The HTTP POST requests contains parameters in its body, not in the URL.

这篇关于我可以在电子邮件中同时添加获取和发布URL链接吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆