标签: post pushstate
我想传递POST参数,但找不到解决方案。我尝试过但没有成功
url = '?page=test', title = 'Africa'; var options = { type: 'POST', data: {test:'1'} }; history.pushState({options: options, url: url, title: title }, title, url);
有人知道怎么做吗?
谢谢