Finding a way to get the course list

I think close but I have not idea how to get the cURL