0

I'm trying to use the insert lead api and I'm getting getting error 612 - "Invalid Content Type"

I know there are 2 different threads, as well as the explanation in the documentation that the request header needs to state "Content-Type: application/json"

I've tried both curl (as per the example in the documentation - which is wrong, btw) as well as java. Both clearly have "Content-Type" "application/json"

Any suggestions? Am I missing something? Any thoughts on how I might troubleshoot?

Any help would be really, really appreciated.

4

1 回答 1

0

我确实认为它与 Content-Type 有关。这是 Postman(chrome 插件)的示例。我会使用 Postman 检查您的调用是否按预期工作,然后尝试将其合并到您的代码(Java 或 cURL)中。

邮递员内容类型

于 2015-05-06T04:24:58.700 回答