mercredi 17 janvier 2018

How to request from URL that is not Ember.js-conform?

An unread count needs to be displayed in the navbar for our chat app. It can be requested under the following URL:

.../chats/get_unread_count

and the response is the following:

{
 "unread": 0
}

Since the URL is not conform to the Ember.js standard, I am unsure how to get Ember to request it under this URL. I ran out of ideas to try so I hope you can help me.




Aucun commentaire:

Enregistrer un commentaire