Customize endpoint name

Hi @mizzao 

It would be usefull for me so i decided to create a pull request. Let me know if there is any problem with my code.

Regards,

William