DEV Community

Discussion on: How to consume RESTful APIs in Laravel 8 and Laravel 7

Collapse
 
tassadar45 profile image
Archivillano Porkazoid

Hi, how would be the best way in laravel, to make a form that sends data to a crud restapi with json through post, and put for the create and update functions?
I mean there is a lot of tutorials on how to consume restful services using GET to make a query and making tables, but there's nothing on using POST, PUT and DELETE to create, update and delete.

Collapse
 
msnmongare profile image
Sospeter Mongare

Hi @tassadar45 , Which API gives you the access to update their API or create records. If given endpoints for creating and updating , then it is possible