Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

171
Vistas
send "&" in url angular

I'm using the Angular version 12 I want to send the following object in query params:

{
  dynamicQueryOperators: 6&dynamicQueryOperators=8
}

But in the end, the URL that is sent to the server is like this Request URL:

...dynamicQueryOperators=6**%26**dynamicQueryOperators=8

How can I prevent "&" from changing to "%26"?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I was able to fix the bug by sending the variable as an array. If you send the variable like below:

this.query['dynamicQueryOperators'] = [6, 8];

Your header will be automatically created with two identical object keys and the character "&" will be placed between them.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda