Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Arrays are not sent correctly due to not using [] after variable name #1419

Closed
Labels
@JohnVillalovos

Description

@JohnVillalovos

Arrays are not sent correctly due to not using[] after variable name

GitLab's API documentation:https://docs.gitlab.com/ee/api/#array

array types

import_sources is a parameter of type array:

curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" \-d "import_sources[]=github" \-d "import_sources[]=bitbucket" \"https://gitlab.example.com/api/v4/some_endpoint"

So when we sendarray values we most append[] to the array's variable name.

This has caused issues like:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp