How to route GET and POST for same pattern in Laravel?

|
rebory 2020-04-12 11:48:20
ManojRoy19 2020-04-12 07:02:43
Can anyone pls tell me the issue regarding route?

First learn how to take screenshots

rebory 2020-04-12 11:52:51
Who take screenshot using phone camera
ManojRoy19 2020-04-12 14:00:12
rebory 2020-04-12 11:48:20
First learn how to take screenshots

I didnt take screenshot so you can see it clearly,its pic clicked not screenshot

rebory 2020-04-12 14:04:48
ManojRoy19 2020-04-12 14:00:12
I didnt take screenshot so you can see it clearly,its pic clicked not screenshot

Try to understand what I told u

ManojRoy19 2020-04-12 14:05:21
I do understand
ipsita11 2020-04-12 14:34:16
rebory 2020-04-12 11:48:20
First learn how to take screenshots

For sending screenshot through telegram we need to open telegram web on laptop, but it’s not opening. Why??

rebory 2020-04-12 14:36:16
It available for Mac or windows
rebory 2020-04-12 14:36:40
Download telegram on your system login and enjoy
ipsita11 2020-04-12 14:37:35
Why I don’t need to install. Web we can use. Previously i was using telegram.
b3qer_kh 2020-04-12 17:19:22
php artisan migrate:refresh
b3qer_kh 2020-04-12 17:20:13
or drop all tables in db then migrate
mark kariuki 2020-04-12 18:32:57
simply means you are creating a table that is existing already
2020-04-12 18:39:25
What should I leearn, php curl or restful api?
b3qer_kh 2020-04-12 18:51:12
2020-04-12 18:39:25
What should I leearn, php curl or restful api?

I guess php curl

alwad3ani 2020-04-12 19:54:29
Hi , how I do chart by JS ?
starch1ld 2020-04-12 19:56:17
alwad3ani 2020-04-12 19:54:29
Hi , how I do chart by JS ?

https://www.chartjs.org/

Chart.js | Open source HTML5 Charts for your websitewww.chartjs.org
Simple, clean and engaging HTML5 based JavaScript charts. Chart.js is an easy way to include animated, interactive graphs on your website for free.
alwad3ani 2020-04-12 20:09:53
starch1ld 2020-04-12 19:56:17
https://www.chartjs.org/

Thank you 😊

bluebit1 2020-04-12 20:25:00
Hello y’all… i need help…
Im working my first project with laravel, and i have database design in sql file. I need to that sql file directly migrate by using laravel command (use that sql file in my laravel project without edit or change)… please help me 🙏🙏🙏
bluebit1 2020-04-12 20:39:28
bluebit1 2020-04-12 20:25:00
Hello y’all… i need help…
Im working my first project with laravel, and i have database design in sql file. I need to that sql file directly migrate by using laravel command (use that sql file in my laravel project without edit or change)… please help me 🙏🙏🙏

no one

bluebit1 2020-04-12 21:23:46
bluebit1 2020-04-12 20:25:00
Hello y’all… i need help…
Im working my first project with laravel, and i have database design in sql file. I need to that sql file directly migrate by using laravel command (use that sql file in my laravel project without edit or change)… please help me 🙏🙏🙏

Bro u have any idea on this problem

Dev 2020-04-12 21:39:22
bluebit1 2020-04-12 21:23:46
Bro u have any idea on this problem

Sorry. I don’t get your question clearly. You want to import your SQL file into database?

bluebit1 2020-04-12 21:43:43
Dev 2020-04-12 21:39:22
Sorry. I don’t get your question clearly. You want to import your SQL file into database?

Ya… for laravel project

Dev 2020-04-12 21:56:16
bluebit1 2020-04-12 21:43:43
Ya… for laravel project

Use phpmyadmin to import the SQL file or use mysql command to do that.

2020-04-12 22:21:45
How I updating a record on a pívot table?
Siberfx 2020-04-12 23:09:37
bluebit1 2020-04-12 20:25:00
Hello y’all… i need help…
Im working my first project with laravel, and i have database design in sql file. I need to that sql file directly migrate by using laravel command (use that sql file in my laravel project without edit or change)… please help me 🙏🙏🙏

Try to write your own command and add an helper function to import the sql file

FrankMueke 2020-04-13 03:58:55
laravel_discuss-32890.jpg

FrankMueke 2020-04-13 04:00:36
I have a problem guys. I Was trying to use tailwindcss and vue js in laravel but i am getting an erro here in scss file. “at-rule-no-unknown rule”
bluebit1 2020-04-13 08:41:22
Dev 2020-04-12 21:56:16
Use phpmyadmin to import the SQL file or use mysql command to do that.

Ya … sql file import but its work in lavavel …. without “php artisan migrate” 👈 this command … only import in phpmyadmin.

Gowtham_Boopathiraj 2020-04-13 09:28:48
laravel_discuss-32895.jpg

Gowtham_Boopathiraj 2020-04-13 09:29:02
Gowtham_Boopathiraj 2020-04-13 09:28:48

This what issue sometime come

Gowtham_Boopathiraj 2020-04-13 09:29:05
Please help me
lexmaa 2020-04-13 09:56:25
maybe need to change from GET to POST?
lexmaa 2020-04-13 09:56:49
Gowtham_Boopathiraj 2020-04-13 09:28:48

dont forget that the http and https

Gowtham_Boopathiraj 2020-04-13 10:02:07
lexmaa 2020-04-13 09:56:25
maybe need to change from GET to POST?

Brother i have user two forms in two different method to post the value to save database.
How to change get method

Boopathi K 2020-04-13 10:05:18
Try this https://stackoverflow.com/questions/18326030/how-to-route-get-and-post-for-same-pattern-in-laravel

How to route GET and POST for same pattern in Laravel?Stack Overflow
Does anyone know of any way in Laravel 4 which combines these 2 lines into one?
Route::get(‘login’, ‘AuthController@getLogin’);
Route::post(‘login’, ‘AuthController@postLogin’);
So instead of hav…
Boopathi K 2020-04-13 10:07:14
Route::match([‘get’, ‘post’], ‘/’, function() { return ‘Hello World’; });
lexmaa 2020-04-13 10:09:35
Route::any
Boopathi K 2020-04-13 10:11:16
lexmaa 2020-04-13 10:09:35
Route::any

Yes I accept any also working both get and post

naveen5566 2020-04-13 10:18:26
Hi All,

For facebook login rest API using laravel from frontend need to get facebook login id is enough or anything else.
Please just confirm.Thanks.

fayyaztech 2020-04-13 10:55:29
Hello friends,

I want to do add data into session from another table alongside user data after login success.

Anyone knows how to do it please help thanks in advance.

Sales.com 2020-04-13 11:07:27
How to import data into MySQL ?
cayetanohosma 2020-04-13 11:19:32
fayyaztech 2020-04-13 10:55:29
Hello friends,

I want to do add data into session from another table alongside user data after login success.

Anyone knows how to do it please help thanks in advance.

I guess that you need to listen the login event and inside the process, import the data using a QueryBuilder query… Did you try that?

fayyaztech 2020-04-13 11:30:39
cayetanohosma 2020-04-13 11:19:32
I guess that you need to listen the login event and inside the process, import the data using a QueryBuilder query… Did you try that?

Yup, but problem is that if I update version, I’ll lost the code so I want some hook like something.

cayetanohosma 2020-04-13 11:31:12
WHy? That code should be in your app not in vendor
eli_pilevar 2020-04-13 11:55:32
Hi , how keep my session (cart) after login ?
Yusuf 2020-04-13 12:37:57
Hi,
I just deleted all my blade file and deleted all route
But the app still render those pages
How can I stop it
humaneguy 2020-04-13 12:38:34
Yusuf 2020-04-13 12:37:57
Hi,
I just deleted all my blade file and deleted all route
But the app still render those pages
How can I stop it

php artisan view:clear

Yusuf 2020-04-13 12:41:13
humaneguy 2020-04-13 12:38:34
php artisan view:clear

Try that
But it’s not working

humaneguy 2020-04-13 12:42:25
Yusuf 2020-04-13 12:41:13
Try that
But it’s not working

Clear your cache from your browser

Relaxed Guy 2020-04-13 13:18:05
laravel_discuss-32919.jpg

|