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)…

0 Likes

Hey! Try shortening your tasks and instead using the describe feature - makes it easier to read!

0 Likes

Please sign in to leave a comment.