POST requests were not working when sent with no parameter.