Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios send bearer token

const config = {
    headers: { Authorization: `Bearer ${token}` }
};

Axios.post( 
  'http://localhost:8000/api/v1/get_token_payloads',
  config
).then(console.log).catch(console.log);
 
PREVIOUS NEXT
Tagged: #axios #send #bearer #token
ADD COMMENT
Topic
Name
9+5 =