tried integration with post, causing 500s, get query working