Subject: | while Integrating RT REST2 API with angular 2 , api sends cross origin error |
Date: | Mon, 27 Jan 2020 09:37:27 +0000 |
To: | "bug-RT-Extension-REST2 [...] rt.cpan.org" <bug-RT-Extension-REST2 [...] rt.cpan.org> |
From: | Yogesh Kathayat <Yogesh [...] storit.ae> |
while Integrating RT REST2 API with angular 2 , api sends following cross origin error
'Access to XMLHttpRequest at 'http://rt-url/REST/2.0/tickets?fields=Owner,Status,Created,LastUpdated,Subject,Queue,Due,Priority,&fields[Queue]=Name&page=1&orderby=Created&order=ASC&query=Status=%27open%27' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.'
Yogesh Singh Kathayat