Thanks for double checking that.
And my problem is now solved.
It looks like my problem was with where I had my code.
I was making axios.get() call from a .js file that I had created in the “Public” side. But when I moved the axios.get() call to a .jsw file in the “Backend” side everything worked as expected.