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

AxiosHttp should allow an array as data parameter. #1158

Closed
SamTolmay opened this issue Apr 6, 2022 Discussed in #1157 · 0 comments
Closed

AxiosHttp should allow an array as data parameter. #1158

SamTolmay opened this issue Apr 6, 2022 Discussed in #1157 · 0 comments
Labels
Bug Something isn't working

Comments

@SamTolmay
Copy link
Member

Discussed in #1157

Originally posted by xiaoxiji1234 April 6, 2022
Hi, I use AxiosHttpto set the HTTP request. This request is a post request. The parameter required by the body is an array. If I write the array directly in the data, an error will be reported. Is there any method?
data:

[
    {
        "id": "90e673d7-ee94-4bcd-84ae-9d50ce43ade2",
        "name" : "appAdmin"
     }
]

Error:
image
Request

id: postUserRole
type: AxiosHttp
connectionId: keycloakURL
properties:
  url:
    _string.concat:
      - /admin/realms/
      - _global: realm
      - /users/34164188-3197-434a-b7ad-99218ea26ccc/role-mappings/realm
  method: post
  data:
    - name: appAdmin
      id: 90e673d7-ee94-4bcd-84ae-9d50ce43ade2
```</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant