Uploading Files VIA API
I'm attempting to upload files to BOX via the api and am getting the error:
<html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx</center>
</body>
</html>
My https destination config is:
description = "Retrieve Box Data";
host = "upload.box.com";
port = 443;
pathPrefix = "/api/2.0";
authType = none;
useSSL = false;
timeout = 10000;
sslHostCheck = true;
sslAuth = anonymous;
Additionally, my tokens are valid and this is working in Postman. Can someone advise on what is missing? Does my authType or useSSL need to be adjusted?
-
正式なコメント
I would checkout this guide and see if this helps you at all.
Thanks,
Alex, Box Developer Advocate
コメントアクション
投稿コメントは受け付けていません。
コメント
1件のコメント