Try our conversational search powered by Generative AI!

how to return json instead of html


having done the developers courses, and read through the online docs, I can create pages, blocks, controllers views etc.

I know epi has some support for headerless, which basically means an api returning something like json.

Can anyone point me to any info on how to create a page which returns json from the blocks which the CMS editor put there via the CMS?  I cant seem to find this anywhere.

An example would be even better!

Jun 19, 2020 15:40

I haven't actually worked with it, but I've been eyeing the documentation. The feature you're looking for is called the Episerver Content Delivery Api and I believe it comes in the form of a nuget package. Good luck!

Jun 19, 2020 15:54
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.