Updated README
This commit is contained in:
parent
4fdd0133a3
commit
cfe1ef8189
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ void main() async {
|
|||
// Remove 'X-FRAME-OPTIONS'
|
||||
http.defaultResponseHeaders.remove('X-FRAME-OPTIONS', 'SAMEORIGIN');
|
||||
|
||||
// Add 'X-XSRF_TOKEN'
|
||||
// Add 'X-XSRF-TOKEN'
|
||||
http.defaultResponseHeaders.add('X-XSRF-TOKEN',
|
||||
'a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e');
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ void main(List<String> args) {
|
|||
// Remove 'X-FRAME-OPTIONS'
|
||||
var removeHeader = {'X-FRAME-OPTIONS': 'SAMEORIGIN'};
|
||||
|
||||
// Add 'X-XSRF_TOKEN'
|
||||
// Add 'X-XSRF-TOKEN'
|
||||
var customHeader = {
|
||||
'X-XSRF-TOKEN':
|
||||
'a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e'
|
||||
|
|
Loading…
Reference in a new issue