Laravel create a form and send form post to REST API.
i have created a form in laravel and now i want to pass the form data to REST API with ContentType: application/json.
How to create a basic logic for this in controller?
create a form post route in my laravel application.
add that route in form action and in controller i will pass form data to REST API.
For this i can use CURL?