Home > Mobile >  How to pass token as a parameter in axios
How to pass token as a parameter in axios

Time:10-21

In postman i pass connectapitoken as the key and 1234567890 as the token which fetches the data but i dont understand how to pass it in the header unlike Bearer token to fetch the data.

enter image description here

CodePudding user response:

Is that what you want ?

…
headers: {
 connectapitoken: ‘1234567890‘
}
…
  • Related