REST API Function - Webhook Url - invalid oauth token error

REST API Function - Webhook Url - invalid oauth token error

1. I get the error "INVALID_TOKEN" when I call the URL from browser? The following is the URL generated by the function.



2. At tbe end of function, I need to return a xml response to the calling application. How do I do this?