Setting up to use POST data and query parameters