Here everything is good. But getting an issue that When I integrate this then everything is running fine. But my api is working. here cors error occured, while I had already enable my cors. So Here is my suggestion that when you are integrating this code then make sure that you are not working with.