guessing API content-type