Erson Puyos Erson Puyos -4 years ago 107
reST (reStructuredText) Question

Custom HTTP Header, does it violate the RESTful Architecture

I'm currently working on designing a RESTful API, my question is, does it violate the RESTful Architecture if adding custom HTTP Header as part of the requirements?

X-API-Token: MyToken


Appreciate the help, thank you!

Erson

Answer Source

As long as you do not store client context as part your custom header, you're good to go.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download