Get and Post using the API.