Oracle Interview Question

Write some pseudocode to demonstrate how to fetch data from an endpoint.