在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
今天写了一段代码,要用到ajax调用php的接口,因为是https的,所以ajax不能跨域,于是使用nodejs调用接口,但是传输数据后 $_POST["content"]接收不到post过来的数据,于是不断百度。 经过查询得知 headers: { if ($_SERVER["CONTENT_TYPE"] == "application/json") { |
2022-08-30
2022-07-30
2022-08-17
2022-11-06
2022-08-18
请发表评论