Added the correct mime-type for the API calls.