Laravel this is not only a practical framework, it is also a programming style
I am using build-in Laravel TestCase for testing my REST API. Each endpoint requires Accept:application/json header.
Accept:application/json
How can I set this header globally for each response in TestCase?
TestCase
Aucun commentaire:
Enregistrer un commentaire