Bug fix.

Bug: Used to make uppercase when method is not post.