关于Restful的使用?

Open
#106 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
api, documentation

Research direction

Start with the wiki's RESTful usage example and the app\controller\restAction entry point, then reproduce POST_test() to inspect the GET_test-not-found error. Confirm how method names such as GET_test are expected to work and update the documentation so the example and default-method behavior are unambiguous.

Written by the indexing model from the issue text.

Description

按照wiki文档测试:
1、GET方法没有问题;

2、POST_test()会提示错误Fatal error: Method [GET_test] not exists in [app\controller\restAction] in 。。。

默认方法都是"GET_"吗,弄不明白?

Dominant language
PHP
Stars
1.7k
Forks
253
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Tencent/Biny

All issues in Tencent/Biny

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.