I’m new to ionic and to angular as well. PHP was always more my style, but time to expand my horizons. Does anybody have a good reference for a simple API setup? I’ve started to create a provider called auth-service and basically it needs to do this:
Send a get of api_key=(api_key)&password=(password) to
https://mydomain.com/api/v1/authentication/ which returns a token
Token is added to the header. Return to the view
View sends the data request with token in header to
https://mydomain.com/api/v1/endpoint/component/ which returns the data to be displayed.
Building the API was easy and the PHP client to. Just trying to get past that hump in the programming differences. A snippet or a good resource could help.
Wil