Skip to content

Multivalued parameters should be separated by commas#1

Open
matthewdenaburg1 wants to merge 1 commit into
beckf:masterfrom
matthewdenaburg1:fix-multivalue-parameters
Open

Multivalued parameters should be separated by commas#1
matthewdenaburg1 wants to merge 1 commit into
beckf:masterfrom
matthewdenaburg1:fix-multivalue-parameters

Conversation

@matthewdenaburg1
Copy link
Copy Markdown

Per the API v2's documentation (scroll to "Usage"), to pass a list of values to a single parameter, you need to use a comma in the URL. They were being encoded from , to %2C.

An example use case is people.json?roles=1,2,3). 1 is student, 2 is former student, 3 is Alumnus/a.

This allows things like `people.json?roles=1,2,3` to work properly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant