Input’s accept attribute doesn’t recognise application/json? January 6, 2024 by Tarik Please try this header: accept="application/JSON" It worked for me.