At its base, the config service is used to form the proper ajax url to be used with the
Ajax Service to
make a direct network call. Ember FW GC's config service extends Ember FW's config service, which can be found
here. The basic usage
of calling a network request within the app you are currently logged into is described there (with formUrl
).
Ember FW GC only adds a couple of functions to allow more complicated forming of url (such as forming a url
for another app). See the couple added functions below.
For a detailed example of how to implement the config (and ajax) service at the basic level, see our Conceptual Introduction - Advanced Topics.
Methods
-
app
Same arguments and usage as formUrl, except it sends to another app besides the current one.
Parameters:
-
app
StringApp to send request to. Should be loaded using AppMetaService.findMeta
Returns:
AJAX url for an inter-app ajax request