The Techjoomla Blog

Stay updated with all the latest happenings at Techjoomla. From news about the developments in your favourite extensions to Tips & Tricks about the Joomla CMS, Framework & Development.
Font size: +
1 minute reading time (164 words)

CORS Support comes to com_api in v2.3

lakebled

We recently built a Angular 5 application that used Joomla as a backend service. The angular service was deployed on a primary domain, and Joomla was set up at a subdomain. The result, we now have CORS support. YAY!

We have now released com_api v2.3 that adds support for CORS. There are also a few other minor improvements, read on for more details.

CORS Support

There's a new section in the Component Configuration that lets you turn on CORS. CORS can be enabled for GET, POST or all HTTP methods. It is possible to limit CORS access to specific origin domains or to all. Lastly, you can specify which headers are sent back in the Access-Control-Allow-Headers header. 

Other Improvements

  • Fixed 'User Not Found' exception when username is number
  • Removed the frontend site view since it was not maintained

Download Now Know More

Let us know what you think in the comments below. Were you looking forward to this feature? What can we continue to improve on?

0
×
Stay Informed

When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.

Invitex integration with Affiliate Tracker is now ...
PDF Embed v2.1.8 is released

Related Posts

 

Blog Topics