Trying to get the post request working correctly.