Why does cy request with form true with multiple values for a single key results in a wrong url? And what is the workaround? #30328
-
I have a request similar to:
Which results in url: Which decodes to: But what I want is: Is there a workaround for getting the desired request? Do we need to not submit the form url encoded and do the encoding with a library and add it to the url? There is a similar open issue for requests with querystring instead of form #17921 EDIT 1: the real request is quite a bit more complex hence the form url encoding is needed |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answer to my own question with workaround for whoever ends up here:
So what would help is if options like |
Beta Was this translation helpful? Give feedback.
Answer to my own question with workaround for whoever ends up here:
So what would help is if options like
{ skipIndex: true, skipBracket: true, whitespace: '%20',}
are available to cypress as well.