Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对restful支持问题 #15

Closed
wujianping334455 opened this issue Apr 11, 2018 · 3 comments
Closed

对restful支持问题 #15

wujianping334455 opened this issue Apr 11, 2018 · 3 comments

Comments

@wujianping334455
Copy link

wujianping334455 commented Apr 11, 2018

按照文档所说的引入了grace,用$http发起http请求的时候,patch方法用不了,“request:fail method is invalid"(get/post/delete可以用)。求解

@wujianping334455 wujianping334455 changed the title grace对restful支持问题 对restful支持问题 Apr 11, 2018
@wendux
Copy link
Owner

wendux commented Apr 12, 2018

这个是小程序wx.request 报的错,难道小程序不支持patch方法?你直接用wx.request发一个patch 请求试试

@wujianping334455
Copy link
Author

是的,因为wx.request用不了PATCH方法,所以我找到Grace看文档中有说到patch方法。按照文档简单引用的话,Fly库好像也有这个问题。

@wendux
Copy link
Owner

wendux commented Apr 13, 2018

这个目前支持不了,得小程序系统API支持才行,先关了。

@wendux wendux closed this as completed Apr 13, 2018
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

No branches or pull requests

2 participants