I am developing an application on angular that makes several http request to the server which are mostly POST and GET request.
I wanted to know if we can use a mix of both
'Content-Type': 'application/x-www-form-urlencoded
and
'Content-Type': 'application/json
as per the request i.e One request uses application/json and the other application/x-www-form-urlencoded.
Or is it a good practice to only use one content-type.