Symfony 4 remove cookie using AJAX request

I have a REST API made in symfony on the domain example1.com and a client in Angular running on example2.com.

My REST API also has some views on the same domain (example1.com).

If I add a cookie from the domain example1.com Could I then delete it from example2.com (Angular App) using an AJAX request?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *