FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

核心:认证、报错 · Issue #1 · coding/coding-sdk-php · GitHub

核心:认证、报错 #1

Description

CODING API 正确时返回:

{
   "Response" : {
      "foo" : {
         "key1" : "value1",
         "key2" : "value2",
         ...
      }
  },
  "RequestId": "foo-bar"
}

错误时返回:

{
   "Response" : {
      "Error" : {
         "Code" : "foo",
         "Message" : "bar"
      }
  },
  "RequestId": "foo-bar"
}

需要封装成异常,做成核心请求方法

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL