跳至內容
選單
此問題已被標幟
731 瀏覽次數

i want to add multible URLS to the Odoo "cors" Prop of an Web Controller

https://www.odoo.com/documentation/17.0/developer/reference/backend/http.html


@http.route('/my/endpoint', methods=['POST'], type='http', auth='public', csrf=False,  cors='url1,url2,url3')

hwo does this work

頭像
捨棄