Open
Description
Hi, I cant use headers for my post request and there is no example for setting headers.
Here is what I wanted to operate:
async asyncData ({ $http }) {
const value= await $http.$post('https://example.com', '{"someBody":[someValue]}', {
headers: {
'content-type': 'application/json;charset=UTF-8'
}
})
return { value}
},
Metadata
Metadata
Assignees
Labels
No labels
Activity