POST request support

As per our discussion on previous pull request (https://github.com/collectiveaccess/providence/pull/175) i have made changes and making a new pull request.