Okay, I figured it out.
I can indeed setup a localhost app host. When I did that, the studio.plasmic.app’s HTTP REST API Fetcher component started magically working.
Here’s the short version of how I got it to work:
- Published my app from the studio.plasmic.app
- With node installed (used the one in .tool-versions), ran
npx create-plasmic-app@latestin a folder of my choice. - Configured the app. Chose default everything.
- Ran
npm run dev - In plasmic studio, hit the triple dots in the project dropdown, selected configure custom app host.
- Changed https to http, and typed out
localhost:3000/plasmic-host - Success
Source 1: Cannot make integration API calls - Plasmic Studio Questions - Plasmic Community
Source 2: New Plasmic codebase (CLI) | Learn Plasmic
Source 3: Host Plasmic Studio in your app | Learn Plasmic
Originally, my app wasn’t published, but once I cleared the app host, published, and selected http instead of https, it worked.