Find Jobs
Hire Freelancers

Connect Ionic/AngularJS app to API

$30-250 USD

Cerrado
Publicado hace alrededor de 8 años

$30-250 USD

Pagado a la entrega
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 del proyecto: 9772877

Información sobre el proyecto

16 propuestas
Proyecto remoto
Activo hace 8 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
16 freelancers están ofertando un promedio de $104 USD por este trabajo
Avatar del usuario
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 en 3 días
4,9 (50 comentarios)
5,9
5,9
Avatar del usuario
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 en 3 días
4,3 (26 comentarios)
5,1
5,1
Avatar del usuario
A proposal has not yet been provided
$166 USD en 2 días
4,4 (12 comentarios)
4,5
4,5
Avatar del usuario
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 en 3 días
5,0 (2 comentarios)
1,7
1,7
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
5,0 (1 comentario)
0,1
0,1
Avatar del usuario
Abdullah here.. i can do it
$111 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED KINGDOM
London, United Kingdom
5,0
2
Forma de pago verificada
Miembro desde feb 26, 2016

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.