Can I pass custom data in the HTTP header?

前端 未结 7 1167
醉梦人生
醉梦人生 2021-02-12 17:14

I have a whole bunch of web services each with several web methods. The consumers of these services are varied and many. I want to augment each of these web methods with an extr

7条回答
  •  隐瞒了意图╮
    2021-02-12 18:09

    I've used this concept once to handle logout redirect for ajax calls in an intranet web application (nothing related to webservice).

    it was my best solution at hand, but as some other have said it depends if you can push the constraint to clients to treat theses headers for your purpose.

    Definitely not a thing you would want to do by default.

提交回复
热议问题