Added content type checking in servlet layer
Fixed post method in ui
Fixed get method in ui