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

Add the API to POST the updateScript into RestAPI #242

Closed
patrickclercicube opened this issue Jul 1, 2019 · 1 comment
Closed

Add the API to POST the updateScript into RestAPI #242

patrickclercicube opened this issue Jul 1, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request restapi issue for the restapi package
Milestone

Comments

@patrickclercicube
Copy link
Contributor

When the outcome is very big the URL requested for the Script execution could be higher than the browser can accept. In this case you will receive a "400 bad request" from the browser with the script not even called.
To avoid that we can add a POST request for the script execution in the restapi.

@patrickclercicube patrickclercicube added enhancement New feature or request restapi issue for the restapi package labels Jul 1, 2019
@patrickclercicube patrickclercicube self-assigned this Jul 1, 2019
@patrickclercicube
Copy link
Contributor Author

I will add a @post version of getScriptResultPost() and add the @consumes( {MediaType.TEXT_PLAIN, MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON } ) annotation as well.

@kovax kovax added this to the 4.3.0 milestone Jul 1, 2019
@kovax kovax closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request restapi issue for the restapi package
Projects
None yet
Development

No branches or pull requests

2 participants