Retrieving plain text file?

How does one set up an api call that retrieves a plain text file?

You can do this with the API Connector by treating the response as text instead of JSON.​

  • Create a new call in the API Connector with method GET and put the URL of your text file.​

  • In the response settings, choose a type that lets you read the raw body as text (for example “text” or “data” depending on how your editor labels it).​

  • Initialize the call; after that, you’ll see a single field in the response that holds the full text content, which you can use in workflows or display in a text element.​

If you share the exact format of your file URL (public file, S3, GitHub raw, etc.), it’s possible to suggest the exact configuration values.​

I tried that , I was getting an error

Is it possible if you can share a screenshot?

Share you error , error tells lot about what we doing wrong, and give is the clue for solution

this is the error i’m getting, i underlined it with a green marker

Update, i think it was because i didn’t add https: to the url on the api call