Skip to content

Basic REST client implementation with unit tests - #1

Merged
juvenn merged 7 commits into
leancloud:masterfrom
juvenn:master
Sep 16, 2015
Merged

juvenn merged 7 commits into
leancloud:masterfrom
juvenn:master

Conversation

@juvenn

@juvenn juvenn commented Sep 15, 2015

Copy link
Copy Markdown
Contributor

基于 php-curl 的最基本的REST client,实现基本的 request, get, post, put, delete 接口。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

现在 LeanEngine / 后端存储都支持短 header 了,推荐只使用短 header,不考虑之前的兼容性了。(如果要实现 php LeanEngine SDK 的话需要兼容)

下面 header 相关的地方也需要修改。

相关 issue: https://github.com/leancloud/uluru-platform/issues/1335

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已与 LeanEngine 确定,SDK 中只需要支持短 header。在下一个 PR 调整。

juvenn added a commit that referenced this pull request Sep 16, 2015
Basic REST client implementation with unit tests
@juvenn
juvenn merged commit d067da7 into leancloud:master Sep 16, 2015

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用短 Header ?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants