changed POST requests to heroku