Fix api content type
Merge pull request #1132 from nlegoff/fix-api-content-type

[3.8.6] Fix api content type