Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi. Let me explain what I want to do.
I have an AngularJS application.
I want to make API calls to Umbraco back-office to get content from it.
For example I want to get a content by its ID and show it in the AngularJS application.
How can I do this?
I know there is a Rest API developed by Umbraco but for using it I have to authenticate with a back-office user.
I need to access the back-office without logging in because all I want is to get some content.
What should I do?
I think you might need to write your own UmbracoApiController. then you can controll what you want back based on the call.
you can then control what come back - you could add some checks, just to make sure only the content nodes you allow come back.
When you have a controller - you can then call it from angular to get the content object / data you need.
How can we pass an authentication from Angular to our own UmbracoApiController?
Can you please provide some example?
Did you ever find a solution?
maybe this can help
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted