How to hide header


I have created an app in Nextcloud.

In this app I have created another route name like json_result. Now in that json_result page I want to hide the top header.

Would you please anybody help me how I can hide the NextCloud header in that page because I only want to show json content in that page

Mind to share a link to your code?


isn´t the @CORS header what you are looking for?

Hi Rello,

Thanks this will work.