So I have a section of my app that allows the user to edit a JSON config file. This file is returned when I invoke a meteor method.
Now I have a situation where my buddy at work wants to fetch this file from his own app - so basically, I just want to set up a JSON endpoint for him.
How can I return raw JSON when an authorized user hits a certain URL at my domain? I’m using FlowRouter, if that is important.