Find Jobs
Hire Freelancers

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

$10-30 USD

完了済み
投稿日: 約6年前

$10-30 USD

完了時にお支払い
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: 16210860

プロジェクトについて

8個の提案
リモートプロジェクト
アクティブ 6年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
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 3日以内
5.0 (25 レビュー)
4.7
4.7
この仕事に8人のフリーランサーが、平均$26 USDで入札しています
ユーザーアバター
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 1日以内
4.8 (122 レビュー)
6.9
6.9
ユーザーアバター
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 0日以内
5.0 (5 レビュー)
3.9
3.9
ユーザーアバター
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 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
believe me i can do
$25 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
A proposal has not yet been provided
$25 USD 2日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
Charleston, United States
5.0
184
お支払い方法確認済み
メンバー登録日:10月 6, 2011

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。