Skip to content

Commit 74eaae4

Browse files
committed
Add headers
1 parent 346e741 commit 74eaae4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/App.vue

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ export default {
55
methods: {
66
callLocalHost() {
77
axios.post(
8-
'https://experiment-sample-website.netlify.app/.netlify/functions/cors-lab'
8+
'https://experiment-sample-website.netlify.app/.netlify/functions/cors-lab',
9+
{
10+
headers: {
11+
'x-test': 'boo!'
12+
}
13+
}
914
)
1015
}
1116
}

0 commit comments

Comments
 (0)