We're trying to see the contents of a text file within a course's file structure. We're doing this by first finding the file's JSON object using GET /api/v1/courses/course_id/files?search_term=filename.txt and then take the URL parameter from that JSON object and sending a GET request to it. This only returns the message "Cannot connect to destination host". We've printed the URL to output as well and tried to access it through our browsers and in doing so found two problems:
Whenever we manually try to fix both of these problems in the browser, it automatically changes the IP to my local IPv4 address and spits out a familiar message about it not being able to connect. In a few days we'll be able to try using an IPv4 address but right now I'm wondering if there is anything inherently wrong with the way we're approaching this. Is this the optimal way to look at the contents of a file?