× Requests and support related to jBackend.

Http request from app using Ionic

  • manburg6
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 8 months ago #6245 by manburg6
Http request from app using Ionic was created 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.

More
6 years 8 months ago #6255 by admin
Replied by admin on topic Http request from app using Ionic
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.124 seconds