Skip to content

Commit b1ea362

Browse files
committed
Add 'Accept' and 'Content-Type' Headers to all requests
1 parent 965b3f9 commit b1ea362

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/ForgeRequest.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ class ForgeRequest {
77
baseUrl: 'https://forge.laravel.com/api/v1',
88
headers: {
99
'Authorization': `Bearer ${token}`,
10+
'Accept': 'application/json',
11+
'Content-Type': 'application/json',
1012
},
1113
});
1214
}

0 commit comments

Comments
 (0)