I am super curious to understand how I can pass a certain data from APIs onto the View.
I have been successful doing so with custom models that are not relevant to umbraco. Where I fetch an API and map it into a model and then return View("pagename", myModel);
But I am curious to know how I do this mapping with the generated models in Umbraco.
Passing API Data to the View
Hello everyone,
I am new to Umbraco and still learning it.
I am super curious to understand how I can pass a certain data from APIs onto the View.
I have been successful doing so with custom models that are not relevant to umbraco. Where I fetch an API and map it into a model and then return View("pagename", myModel);
But I am curious to know how I do this mapping with the generated models in Umbraco.
Hi Alexander,
try the WebApi docs below:
https://our.umbraco.com/documentation/reference/routing/webapi/
Hops this helps.
is working on a reply...