A我有一个Spring boot(v5) with embeded tomcat REST API用于我的小型Angular 5网站,而这个REST API是基于https协议的,所以我需要启用cors origin才能让我的网站与REST API通信。我该怎么做:
@SpringBootApplication
public class AdminPanelApplication {
public static void main(String[] args) {
SpringApplication.run(AdminPanelApplication.class, ar
更新
来自Fiddler 2:
我能看到发送的数据。它们也会出现在另一个网站的数据库中。
来自另一个域/服务器的响应似乎不正确:
Response sent 38 bytes of Cookie data:
Set-Cookie: ARPT=YOLMQLS172.25.102.96CKMYK; path=/
This response did not contain a P3P Header.
即使头响应不正确,继续执行此实现是否安全?
我使用来验证我的表单,然后使用jquery将表单数据发布到外部网站(铅生成平台)。
表单数据成功地提交到外部站点(Marketo)。我通过登录到他们的网站来