This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
LMBdev
I am following the following tutorial: https://docs.microsoft.com/en-us/outlook/rest/php-tutorial
I have successfully created the app following the tutorial. Now I would like to implement this into my October project.
So far, I have my plugin and component created and seem to have something working. I can get the $messages array to return but I am having trouble formatting them.
Here is a sample output from my /mail route:
[{"@odata.etag":"W\/\"CQAAABYAAACAaCvQwhfTSI82UCs+YL3qAACa9msJ\"","id":"AAMkADY0NDU1YzY1LTA2MjMtNDM4ZC1hZmRmLTA0N2ZmZjcyYjI5YwBGAAAAAAAgxvK3-HJySZD0ypmVaoJ2BwCAaCvQwhfTSI82UCs_YL3qAABDHCevAACAaCvQwhfTSI82UCs_YL3qAACa3TrGAAA=","createdDateTime":"2017-08-08T11:51:39Z","lastModifiedDateTime":"2017-08-08T11:51:39Z","changeKey":"CQAAABYAAACAaCvQwhfTSI82UCs+YL3qAACa9msJ","categories":[],"receivedDateTime":"2017-08-08T11:51:39Z","sentDateTime":"2017-08-08T11:51:34Z","hasAttachments":false,"internetMessageId":"...}]
I need help pulling from the $messages array created by my controller and displaying the contents on my page using the component partial.
Thanks.
1-1 of 1