We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've tried to use a method to import a filter rule from one server to other, but when using the filterSave method, it requires a POST method:
php zs-client.phar filterSave --type=issue --target=zst --name=CLIQueryAllEvents --data={"applicationIds":[29]} 2015-04-30T16:24:43-03:00 ERR (3): This action requires a HTTP POST method filterSave unexpectedHttpMethod
ZendServerWebApi\Model\Exception\ApiException This action requires a HTTP POST method
The text was updated successfully, but these errors were encountered:
Fix for this issue:
aabd02c
zend-patterns/ZendServerSDK#63.
70fea7a
@ericovasconcelos The issue is fixed in the latest phar ( https://github.com/zend-patterns/ZendServerSDK/raw/master/bin/zs-client.phar ) version. Make sure also to use query string formatting for passing the data and not json formatting. The correct way to test the filterSave with the data that you have provided will be:
php zs-client.phar filterSave --type=issue --target=zst --name=CLIQueryAllEvents --data="applicationIds[]=29"
Sorry, something went wrong.
No branches or pull requests
I've tried to use a method to import a filter rule from one server to other, but when using the filterSave method, it requires a POST method:
php zs-client.phar filterSave --type=issue --target=zst --name=CLIQueryAllEvents --data={"applicationIds":[29]}
2015-04-30T16:24:43-03:00 ERR (3): This action requires a HTTP POST method
filterSave
unexpectedHttpMethod
The application has thrown an exception!
ZendServerWebApi\Model\Exception\ApiException
This action requires a HTTP POST method
The text was updated successfully, but these errors were encountered: