I always run queries through the JS SDK because it's so much better documented. Is it possible to run queries without calling in a method from the JS SDK? I think so, but there is nothing that tells you how. Meanwhile, the JS SDK has excellent documentation, so that's what I look at.
GIS Developer
City of Arlington, Texas