call api and show the result