🎁 Unwrapping the Ninth festive release for 2024: CORS for Connect API!

Ho ho ho! :santa_claus: Santa CORS is here to deliver a :wrapped_gift:! The Connect API now has support for CORS requests, so you can call it directly from your frontend code, without having to proxy through your backend :bell:

Instructions:

  • Head over to our Connect Starter Kit where both demos have been updated to take advantage of CORS, and see how much simpler it makes the code!
  • This is particularly handy for APIs like export where you would previously need to poll your backend to poll Connect, and now your frontend can just poll Connect directly.
  • Since the OAuth 2.0 flow requires sending your client secret, that still needs to happen from your backend, so no CORS support is available for OAuth.

Be sure to checkout all of our other releases so far this week, and keep your eyes peeled for the upcoming ones!

8 Likes

Haha. I actually LOL’d at Santa CORS. Best Dev Joke Ever. Thanks for another GIFT

6 Likes