Thanks Felix.
Escaping coma with backslash helped.
Now its working.
Lekshmi

On Sun, Aug 27, 2017 at 1:56 AM, Felix Schumacher <
[email protected]> wrote:

>
>
> Am 27. August 2017 03:29:08 MESZ schrieb Lekshmi Prakash <
> [email protected]>:
> >I have an HTTP request with below url
> >
> >https://
> ><servername>/perfmultiple/v1/logs?$filter=${__urlencode({"$
> and":[{"endTime":{"$gt":"ISODate(2017-02-21T13:53:56.
> 861Z)"}},{"command":"Alibaba"}]})}
>
> Try to escape the comma with a backslash: \,
>
> Felix
>
> >
> >I am getting a malformed url exception .
> >
> >But if I send request with below url it works.There is only one value
> >in
> >the json array
> >
> >https://
> ><servername>/perfmultiple/v1/logs?$filter=${__urlencode({"$
> and":[{"endTime":{"$gt":"ISODate(2017-02-21T13:53:56.861Z)"}}]})}
> >
> >How do I handle the scenario when the json array has more than one
> >value?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to