我向人脸识别API发送了一个请求,该请求给我错误:
错误: HTTP403:禁止-服务器理解了该请求,但拒绝执行该请求。 (XHR)选项-https://api.clarifai.com/v2/models/c386b7a870114f4a87477c0824499348/outputs
请求:
const app = new Clarifai.App({
apiKey: '*********************'
});
app.models
.predict("c386b7a870114f4a87477c0824499348","https://samples.clarifai.com/wedding.jpg")
.then(
function(response) {
console.log(response)
},function(err) {
console.log(error)
}
);