I'm going to make a Rest API, this working in the following way:
- user send an header with a token string
- api check if the token is valid and if are available in a xml file
- if yes, in this xml file I return the connection of database (there is also information about the user)
- now I want store somewhere the information of the user that's performing the transaction
I thought to the header
but how I can store some information on the header? There is also another way?