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

Refactor REST_Controller::_parse_options() #546

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

kenjis
Copy link
Contributor

@kenjis kenjis commented Sep 1, 2015

See #544

@chriskacerguis
Copy link
Owner

This doesn't seem to account for CLI input. Thoughts?

@kenjis
Copy link
Contributor Author

kenjis commented Sep 12, 2015

See my Rest_test controller: https://github.com/kenjis/ci-app-for-ci-phpunit-test/blob/fda2365f7887daefc1122a9bd11980c9d86b05e7/application/controllers/api/Rest_test.php

Before this PR:

$ php public/index.php api rest_test index abc def
{"get":{"abc":"def"},"query":[]}

This PR:

 php public/index.php api rest_test index abc def
{"get":{"abc":"def"},"query":[]}

The resutls are the same.

Is there any way to specify HTTP method via CLI?

chriskacerguis added a commit that referenced this pull request Oct 26, 2015
Refactor REST_Controller::_parse_options()
@chriskacerguis chriskacerguis merged commit de15246 into chriskacerguis:master Oct 26, 2015
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.

2 participants