We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Arrays are not sent correctly due to not using [] after variable name
[]
GitLab's API documentation: https://docs.gitlab.com/ee/api/#array
import_sources is a parameter of type array:
import_sources
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 send array values we most append [] to the array's variable name.
This has caused issues like: