Ricerche recenti


Nessuna ricerca recente

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



Data ultimo post: 21 mar 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 commento

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


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post