How to hide header

Hello

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?

Hey,

isn´t the @CORS header what you are looking for?
https://docs.nextcloud.com/server/12/developer_manual/app/api.html

Hi Rello,

Thanks this will work.