Made solver a post to facilitate long queries