title: Odoo 13 : Enable cors origin for odoo 13 api
body: <p>i tried to connect from angular post method but getting cors origin issue
  this my api code at controller :</p>
  <pre><code> @http.route('/get_students', type='json', auth='none', methods=['POST', 'OPTIONS'], website=True, csrf=False,
              cors='*')
  def get_students(self, **kw):
      students_rec = http.request.env['test.student'].search([])
      students = []
      for rec in students_rec:
          vals = {
              'id': rec.id,
              'name': rec.name
          }
          students.append(vals)
  
      data = {'status': 200, 'result': students, 'message': 'success'}
      return data
  </code></pre>