added better endpoint handling
no new line at end of file
syntax error
Merge pull request #27 from Ontraport/BETTERENDPOINT

added better endpoint handling