Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

254
Views
¿Cuándo usar y cuándo no usar encodeURIComponent o encodeURI?

Desde el punto de vista de la seguridad, ¿cuándo debo usar encodeURIComponent o encodeURI y cuándo no necesito usarlo?

¿Necesito usar encodeURI en "https://nominatim.openstreetmap.org/search.php?q=" como se muestra a continuación?

¿Necesito encodeURIComponent cada clave en la cadena de consulta, como polygon_geojson y format ?

 And do I need to use them on only GET or also on POST method? On another posted question, there were mixed answers. $.get( "https://nominatim.openstreetmap.org/search.php?q=" + encodeURIComponent(query) + "&polygon_geojson=1&format=jsonv2", function (response) { if (response.length > 0) { var latlng = new L.LatLng(response[0].lat, response[0].lon); marker.setLatLng(latlng); map.panTo(latlng); acadp_update_latlng(response[0].lat, response[0].lon); } }, "json" );
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!