- PHP语言,使用Guzzle HTTP 客户端为什么一直报 require POST method?
$token = $this->miniApp->create()->access_token->getToken(true); $client = $this->clientFactory->create(); $res = $client->post('http://api.weixin.qq.com/wxa/servicemarket?access_token=' . $token['access_token'], [ RequestOptions::JSON => [ 'service' => 'wxee446d7507c68b11', 'api' => 'imgSecCheck', 'client_msg_id' => 'client_msg_id_1', 'data' => [ 'Action' => 'ImageModeration', 'Scenes' => ["PORN", "POLITICS", "TERRORISM"], "ImageUrl" => $url, 'ImageBase64' => '', 'Config' => '', 'Extra' => '' ] ] ]); 返回 : {"errcode":43002,"errmsg":"require POST method"}
2020-12-18 - 内容安全-》图片检测中可以检测远程图片吗
内容安全-》图片检测 可以检测远程图片吗, 图片在七牛云上, 是cdn地址
2020-02-24 - 内容安全接口是否能真实有效,无论填写什么都能通过接口审核
POST /wxa/msg_sec_check?access_token=30_Z--PM9E81Zu0GYoEWA51bwO0qlwYZ5YnTNNSsNmV8apcFXLrFRA2-fSypICbVLiQxXTVNG6SIUN6wOUe3Ua3QLs3LYflBAkTFiOuBOH0bjFaVyfzrcjCBN2BmKpbcsSW9xGq4U8uDV3eqaC1ASRdAGANFE H TTP/1.1 Host: api.weixin.qq.com Content-Length: 38 User-Agent: GuzzleHttp/6.5.1 curl/7.58.0 PHP/7.3.9 Content-Type: application/json {"content":"黄色色情网站社区"} <<<<<<<< HTTP/1.1 200 OK connection: keep-alive content-encoding: gzip content-t ype: application/json; charset=UTF-8 content-length: 44 {"errcode":0,"errmsg":"ok"} -------- NULL [] [] 这个接口是不是应该再提供一个参数, 能控制严格级别的?
2020-02-24