Fix for new endpoint configuration

As informed by the databox support team, there was a recent update on the endpoint:
https://developers.databox.com/push/v1/endpoints/

I'm new to this but I've made the changes I judged necessary and it is now working fine on my implementation.