LeanCloud.initialize(this,"WzyiZ0QDmbnzMSLa5SoUgJKV-MdYXbMMI", "key");
初始化是这样写的,用id和key
报错:
D/LCObject: saveObject param: {"words":"Hello world!"}
D/LoggingInterceptor: Request: curl -X POST
-H Accept: application/json
-H Content-Type: application/json
-H User-Agent: LeanCloud-Java-SDK/8.0.1
-H X-LC-Id: WzyiZ0QDmbnzMSLa5SoUgJKV-MdYXbMMI
-H X-LC-Prod: 1
-H X-LC-Session: {your_session}
-H X-LC-Sign: {your_sign}
-d '{"words":"Hello world!"}'
https://wzyiz0qd.api.lncldglobal.com/1.1/classes/TestObject?fetchWhenSave=false
D/LoggingInterceptor: Response: 403
date: Tue, 13 Sep 2022 01:22:29 GMT
content-type: text/html; charset=UTF-8
x-frame-options: SAMEORIGIN
referrer-policy: same-origin
cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
expires: Thu, 01 Jan 1970 00:00:01 GMT
vary: Accept-Encoding
server: cloudflare
cf-ray: 749d1276fda9bbce-FRA
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Access denied</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="/cdn-cgi/styles/errors.css" media="screen" />