Is there a way to return direct text on a page using a meteorite? Say someone requested domain.com/get/that -thing, and I just wanted to return the string “52” so that the interrogator knew that the thing had “52” something. As far as I understand, this is not possible in Meteor, because headers, etc. Always included.
2 hacks that will work: Write to a file called "that-thing" in anticipation that "this thing" might be called. This does not work in the general case. Put a reverse proxy server that redirects some of the requests to the non-meteor backend.
Is there a better way to do this?
source share