How to navigate between pages based on URL? If my url contains /links I want to return JSON response but If its default I want to return html

If my URL contains .*/links I want to return JSON response but If it’s default I want to return HTML.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.