Pesquisas recentes


Sem pesquisas recentes

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



Publicado 21 de mar. de 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 comentário

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


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação