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

hopla request can only accept strings as body params #92

Open
melvio opened this issue Sep 19, 2021 · 0 comments
Open

hopla request can only accept strings as body params #92

melvio opened this issue Sep 19, 2021 · 0 comments
Labels
enhancement New features or semantic improvements hopla-request hopla request command

Comments

@melvio
Copy link
Owner

melvio commented Sep 19, 2021

The following command fails:

hopla request -XPOST --body-param uuids [wikiFAQ_bot] /api/v3/groups/party/invite

With:
HTTP Status Code: 400

{
    "success": false,
    "error": "BadRequest",
    "message": "User ID invites must be an array."
}

This is because the --body-parameter option only accepts strings at the moment.

@melvio melvio added enhancement New features or semantic improvements hopla-request hopla request command labels Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or semantic improvements hopla-request hopla request command
Projects
None yet
Development

No branches or pull requests

1 participant