Recent searches


No recent searches

how can I use '&' in client.request() url property?



Posted Mar 21, 2024

When I send the request using Postman or the fetch API, it works as expected and returns the desired response. However, with the ZAF client, I receive an error due to the '&' character in the URL.

I've tried using the encodeURIComponent() function, but the issue persists.

I'm wondering if there is a specific configuration or option within the ZAF client that can handle this encoding issue. Any insights or suggestions would be greatly appreciated!


0

1

1 comment

Hi Ryan,

Thanks for your suggestion.

I solved the problem by using a method of encoding only query parameters.
I was encoding the entire url.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post