Face API -Verify,内容类型标头是必需的 [英] Face API -Verify, content-type header is mandatory

查看:81
本文介绍了Face API -Verify,内容类型标头是必需的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Face API - 验证方法文档错误。  Content-Type标头不是可选的。 如果遗失, 报告了415错误。 请修复此问题。

The Face API - Verify method documentation is wrong.  Content-Type header is not optional.  If missing,  an 415 error is reported.  Please fix it.

收到HTTP / 1.1 415不支持的媒体类型详细信息{"错误":{" code":" BadArgument"," message":" Invalid Media输入。"}}

Received HTTP/1.1 415 Unsupported Media Type detail {"error":{"code":"BadArgument","message":"Invalid Media Type."}}

推荐答案

您好,  

Hi,  

您是否已经 从
$获取"内容类型标题是可选的"消息  b $ b在这里?如果是这样,那是因为我们为Content-Type设置了默认值。如果没有,您能否将网站粘贴到您获得的网站上? 

Did you get the message that 'Content-Type header is optional' from here? If so, that is because we set a default value for Content-Type. If not, could you please paste the website where you get it? 

谢谢


这篇关于Face API -Verify,内容类型标头是必需的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆