Http request from app using Ionic
-
manburg6
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
7 years 3 months ago #6245
by manburg6
Hello,
my question is related to interaction between a mobile App made using Ionic and Jbackend, so I don't understand if is out of scope for this forum... by the way...this is my issue:
I'm Trying to logina a user to Joomla using an App with the following command:
this.http.get(apiUrl+'post/user/login?username='+credentials.username+'&password='+credentials.password, {"headers": headers})
.map(res => res.json())
.subscribe(data => {
this.posts = data.data.error_description;
}, (err) => {
reject(err);
});
I receive the following error and I do not understand where I wrong:
Response with status: 0
Is there someone with experience in Ionic app using Jbackend?
Thanks,
Mario
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 3 months ago #6255
by admin
Hi Mario and sorry for delay.
Can you trace the request/response in some way? It would be useful to have the raw request (and the response too, of course).
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.132 seconds