A quick question arose to me while creating a simple, shareable XHR implementation for upcoming project.
What would the difference be in specifying the responseType property as json rather than the Content-Type header? Would everything be okay down the line if I did BOTH?
Thanks in advance for any insight! Thought this might start a good conversation.