set content type before request
dont accept empty name or message