user7638704
user7638704

Reputation:

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

Upvotes: 0

Views: 134

Answers (1)

Jerven Clark
Jerven Clark

Reputation: 1219

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

Upvotes: 1

Related Questions