add mediatype for response to the post query