Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

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



Gepostet 21. März 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 Kommentar

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


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post