shawnoster / lair

You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here
Apache License 2.0
0 stars 0 forks source link

Yosh/dev/api #9

Open yoshed-it opened 4 years ago

yoshed-it commented 4 years ago

So! I found a workaround to my CORS issue. After some digging I found a heroku app that works as a proxy (hooray! I didnt have to write a node server to test things!) Now when we fetch were hitting: https://cors-anywhere.herokuapp.com/https://lair-dice.azurewebsites.net/diceroll/1d20.

Added the logic for POST as well, but im not sure where the API key is...

Updated the README file with user stories. Im sure thats not the correct location for that, but... let me know!