Skip to content
Discussion options

You must be logged in to vote

The issue is that this results in an error as the input comes in as a string from the query parameters instead as a array.

That's because you're using comma separator, which is not a conventional way to pass arrays via query string, @JacksonDahl2 .
Try this:

?items=COMPLIANT&items=ALL_FIXED

⚠️ this is for Express 5

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@JacksonDahl2
Comment options

@JacksonDahl2
Comment options

@RobinTail
Comment options

@RobinTail
Comment options

Answer selected by RobinTail
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants