Set custom header for the request made from

后端 未结 4 1641
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 10:22

Let\'s say I have a code like this:


How to configure custom headers for thi

4条回答
  •  情书的邮戳
    2020-12-03 10:33

    One alternative is to use cookie instead of header parameter.

    If you want, for example, send a user credential to control the access to the image, this credential can be set to a cookie and this cookie can be validated at server side.

提交回复
热议问题