inserting 'Content-Type' for post method