Yes, but it has to be done from the Client's end and not your Laravel app (the Resource Server). What Client are you using in this case?
Jan 7, 2019
6
Level 1
Default adding Api Request headers
Is there any way to add Accept=application/json header with every request in API by default. Because currently in every request I have to pass Accept header manually. Is there any method in laravel that adds this header by default/automatically with every request?
Please or to participate in this conversation.