Node's question about the request header

  1. I want to insert token in the request header and pass it to the backend
    that"s what I did:

clipboard.png

Node,Node

clipboard.png

token

Node

clipboard.png

I hope you can help me, thank you!

Mar.17,2021

token can be sent to the backend in cookie, and the backend can get the token field in cookie. After all, the frontend request is passed in the same way

.

clipboard.png



clipboard.png


token optionnodegetposttoken
optionpost

when the option request is successful, you can then request it as get or post


tried the landlord's method, but it still didn't work. Hey, ask for guidance

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb36c7-245b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb36c7-245b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?