Is it possible to get the source of the request in padrino in a server to server communication.For example if there are two server server1 and server2 and if server1 send a request to server2, is it possible to know in server2 that the request came from server1. the application may be in sinatra or padrino.
Asked
Active
Viewed 66 times
1 Answers
0
I'm not sure there is dedicated fields for that type of information in HTTP headers, but you can without problem specify yourself some attributes that will be checked by the target server.
You can even add them to your requests headers and retrieve them.

jgburet
- 535
- 3
- 15