Spent the morning trying to consume my new Rails API (https://railsapi-booklist.herokuapp.com/books) on Codepen, but shows nothing. Asked for help from @craigpetterson and he found it in the console - I didn't allow for cross-origin resource sharing (CORS)! π€¦ββοΈ Tomorrow will install Rack CORS gem and try to win again.
Jason Leow
Author
Ok will try next time (hmmm but i kinda like being able to see everything in one)β¦
Hey! Try shortening your tasks and instead using the describe feature - makes it easier to read!
Please sign in to leave a comment.