Find Jobs
Hire Freelancers

Connect Ionic/AngularJS app to API

$30-250 USD

クローズ
投稿日: 約8年前

$30-250 USD

完了時にお支払い
Hello I am trying to connect my mobile applicaton (Ionic/Angular) to an API. ([login to view URL]) This is what I’m using now: $http({ method: 'GET', url: '[login to view URL]', headers: { 'Authorization': 'Basic VXJHb2xmUHJvOkBVckdvbGZQcm8m', 'Content-Type': 'application/json' } }).success(function (response) { $[login to view URL] = response; }) And this is is the error I get: XMLHttpRequest cannot load [login to view URL] Response for preflight has invalid HTTP status code 401 We've been told: This is a cross-origin (CORS) issue. The custom headers cause the browser to issue a preflight OPTIONS request. Unfortunately, the OPTIONS method isn't supported by the server. The resulting error prevents the browser from issuing the GET request. Is this something that you could fix? Xavi
プロジェクト ID: 9772877

プロジェクトについて

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

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に16人のフリーランサーが、平均$104 USDで入札しています
ユーザーアバター
Hello, First of all HTTP code 401 means this issue is not related to CORS. This error can be seen if you are not authorized to access that API. For CORS, you you have to allow multiple domain at your server(in API) or at least your domain which you are trying to access. I have fixed these type of issue but you did not specify exact issue. To know more about me or my work, please have look my profile https://www.freelancer.com/u/arifjaunpur.html Thanks Arif
$50 USD 3日以内
4.9 (50 レビュー)
5.9
5.9
ユーザーアバター
Hello Sir, Being a Software Engineer i can do your job easily, i have 3 years experience with application developed in Angularjs, come to chat for detail conversation about your project. Regards Sibghat Ullah
$100 USD 3日以内
4.3 (26 レビュー)
5.1
5.1
ユーザーアバター
A proposal has not yet been provided
$166 USD 2日以内
4.4 (12 レビュー)
4.5
4.5
ユーザーアバター
Hi I have 3+ experience in web development. I did many job like this. I have strong knowledge of Mysql, Oracle, Database Design and I have also strong knowledge in languages like Java, JSP, PHP, Bootstrap CSS, Ajgular JS, Ionic framework, HTML, CSS, JQuery etc .
$200 USD 3日以内
5.0 (2 レビュー)
1.7
1.7
ユーザーアバター
Hi, it is a common cross-origin issue and easy can be fixed very quickly, plus you will get more recommendations to avoid it. Thank you.
$55 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Hello Sir, I can help you in this. I am developing an app in Cordova 6 + Onsen UI and I had experienced the same issue. The new version of cordova has a Whitelist plugin which need to be configured properly in order to get ajax response correctly. Hoping to hear from you soon. If you can provide me the username and password along with the source code I can provide you a working APK sample. or just username and password to access API, I will create a working sample before you accept the bid. Thanks and regards Linish
$55 USD 1日以内
5.0 (1 レビュー)
0.1
0.1
ユーザーアバター
Abdullah here.. i can do it
$111 USD 2日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Hi, Your problem is not that big, as long as you have full control of your server, it's easy, I'll fix it for very cheap (basically for a good recommandation :D).
$30 USD 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED KINGDOMのフラグ
London, United Kingdom
5.0
2
お支払い方法確認済み
メンバー登録日:2月 26, 2016

クライアント確認

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