A
A
Alexey Bolgov2021-03-03 21:18:20
Laravel
Alexey Bolgov, 2021-03-03 21:18:20

How to accept and define POST/GET request in php/laravel?

Hello! tell me POST / GET requests come from the server, how to enter a word (POST) or (GET) into a variable in order to send the values ​​​​of this variable to the database? POST and GET come a lot and I want to filter them through the program, but I didn’t find anywhere how to put the value into the database

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2021-03-03
@Alex2412729

https://laravel.com/docs/8.x/requests#retrieving-t...

K
Konstantin, 2021-03-05
@derwin

use separate routes and requests for different methods

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question