[ad_1]
Hi
I’ve hand coded a theme for my blog. I have a form where the user can report an issue. The form sends the data asynchronously to the backend. I have seen that it’s possible to send it to `/wp-admin/admin-ajax.php` and also possible to create a custom REST API endpoint and send there as a POST method. Is there any advantage and/or disadvantage to each?
Thanks
[ad_2]