secure a REST trigger
Posted: Tue Sep 01, 2020 5:13 pm
Hi, is there a way to secure a REST trigger? I mean, when I set the trigger I just set an URL to my server and that's all, but Bullhorn is not sending anything for me to validate on my server such as a clientId or API key or something.
I don't see anything in the header or body that I can use, right?
I don't see anything in the header or body that I can use, right?
Code: Select all
headers: {
connection: 'upgrade',
host: '1218xxxxxxxxxxxxxxxxxxxxx.com',
'x-real-ip': '172.31.21.49',
'x-forwarded-for': '204.62.53.4, 172.31.21.49',
'content-length': '101',
accept: 'application/json',
'cache-control': 'no-cache',
'content-type': 'application/json',
pragma: 'no-cache',
'user-agent': 'Java/1.8.0_51',
'x-forwarded-port': '80',
'x-forwarded-proto': 'http'
},
body: {
data: { customText6: 'aa' },
meta: { entityName: 'ClientCorporation', entityId: 168710, userId: 52 }
}