This is a small, container-ready version of an API consumer
export API_CONSUMER_BaseUrl=...
export API_CONSUMER_ExternalApplicationCode=...
export API_CONSUMER_PreSharedKey=...
export API_CONSUMER_EventCode=...
You can run the container locally to test: