Closed rsd-earl closed 1 year ago
Based on your screenshots you're sending an Authorization
header in Postman, but passing it via URI in the browser. Why not try the same method both ways to see if the outcome is the same?
Send the param as api_token
instead of token
. Also if you send the token as a param you do not need the authorization header.
Based on your screenshots you're sending an
Authorization
header in Postman, but passing it via URI in the browser. Why not try the same method both ways to see if the outcome is the same?
I have tried this locally sending a request to episodes.json with the Authorization header and it gives me CORS.
I'll try both today.
@johnloringpollard okay the api_token works, but gives me CORS issue when putting it in the script that I'm making
@johnloringpollard for reference here's the code
What happens if you run that code in the console at stackoverflow or buzzsprout.com? It works for me there which makes me wonder if theres something blocking from visual studio.
@johnloringpollard still gives me CORS issue
@johnloringpollard any comment on this ?
I believe the issue is that you need to use the full domain. https://www.buzzsprout.com You are not using the www. portion.
thank you @johnloringpollard didn't think that would be an issue, but it seems like, I was wrong.
i'm currently making a script that would get all the episodes and would display it but when i tried doing so i'm getting
CORS Issues
.but when i try using postman i'm getting
bad credentials
same with pasting the url to browser.