Hello, I’m trying to call my app’s API from a completely different application but I keep getting a 401 Unauthorized error. This is the code I’m using:
I have a feeling it’s because I’m not adding the headers properly but I’ve tried adding the headers in 100x different ways and still can’t get it to work. Anyone know the proper syntax here?
Persistent. I am trying to call it with a script in an HTML block. I finally formatted it correctly because I got around the 401 Unauthorized error but now I’m getting this error.
Also worth noting I am using Brave Browser but shields are down.