Skip to content

核心:认证、报错 #1

Description

@shaunthegeek

CODING API 正确时返回:

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

错误时返回:

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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