need help to configure module

mcpll
5
mcpll
commented 6 days ago

hi All,m

i need help to configure the header for the authenitcaion for this service
https://www.datocms.com/docs/content-delivery-api/

but i can't undestand how

i need help to configure the wright call to my server…. where i setup the Bearer token?
into nuxty/apollo module
i can simple pass an header with the right token inside
but i don't undestand where i find this informatiuon

this is my nuxt.config file

modules: ['@nuxtjs/apollo'],
apollo: {
tokenName: 'ded5ebeaeab439f1fc2e3bbc9ff467',
clientConfigs: {
default: {
httpEndpoint: "https://graphql.datocms.com",
tokenName: 'ded5ebeaeab439f1fc2e3bbc9ff467',
}
},

0
Informations
QuestionUnresolved
#c96 - Created 6 days ago