Find Jobs
Hire Freelancers

Build a sample CURL - Node.js - HTML page (No PHP)

$10-30 USD

Terminado
Publicado hace alrededor de 6 años

$10-30 USD

Pagado a la entrega
I'm working with a US Government website API system and the examples that they give are in CURL [login to view URL] I want to develop a web page where my users can put in a value such as Name and my web page will produce the results. This is a system for third party developers so it is 100% acceptable to get the data. At the bottom of the page are examples in both CURL and a request URL. I tried to use jQuery and Ajax to GET the URL but it throws errors so the next step is to use CURL which is server side. I have read the node.js works well with CURL so I'm open to use that also. I want a simple web page (No PHP) just a .html with a javascript example that fills a textarea with the returned response. Parsing the return value is a different project for a bit latter. I've added a file with a couple of CURL request that I would like to see run from the example that you produce. After you set this up on your system you need to tell me how to set this up on my system to run.
ID del proyecto: 16210860

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I have worked with html, curl and node js all, so i think this is best to do this project.I have very good experience in API development as well.
$20 USD en 3 días
5,0 (25 comentarios)
4,7
4,7
8 freelancers están ofertando un promedio de $26 USD por este trabajo
Avatar del usuario
Hello, You can use the reverse proxy on your server to call API directly using Jquery rather than writing script. By the way, if you still need to use NodeJS, I can write NodeJS script to call API but you must know NodeJS script cannot be run on the browser. Let me know if you would like to discuss Thanks
$30 USD en 1 día
4,8 (122 comentarios)
6,9
6,9
Avatar del usuario
Hi, You won't ever be able to make these kinds of requests with just a HTML page and some javascript. Without being able to allow cross-site requests on the external API (which you can't do), then you will need some kind of proxy. The absolute simplest way to do that is with PHP and curl. You can set it up in Node.js as well, but then you would have to set up a node.js server on your host. That's not less complicated than using PHP and Apache - it's actually way more complicated. The best thing to do is to just write a simple PHP file that takes your request and passes it onto the API (a proxy). Again you can do that with Node.js but pretty much any host you use will have PHP and Apache on it - it won't have Node.js by default. Thanks John
$35 USD en 0 día
5,0 (5 comentarios)
3,9
3,9
Avatar del usuario
hello sir, i read your post, want to ask few question about this i have more than 7 yeras of experience in this inbox me so we can discuss better about this thank you
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
believe me i can do
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Charleston, United States
5,0
184
Forma de pago verificada
Miembro desde oct 6, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.