How To Use An Api Endpoint