format the post api request, add default 'Content-type' to post request