创建一个在线表单,一个电子邮件输入和一个提交按钮。确保表单的数据进入这个url https://documenter.getpostman.com/view/20469527/2s83tCKYGN
我尝试并创建了一个html表单,并使用css来美化它,但是未能将表单中的数据链接到给定的api url。
发布于 2022-10-27 12:55:27
document.getElementById("form").onsubmit = e=>e.preventDefault()<form id="form" action="https://documenter.getpostman.com/view/20469527/2s83tCKYGN" method="post"><input type="email" name="email"
><input type="submit" value="Submit"></form>
https://stackoverflow.com/questions/74222291
复制相似问题