0

What's the best way of handling two different post request on the same url in Laravel? Should I use jobs or what's the normal way of doing this?

Already looked at some articles like this one:

handle multiple post requests to same url Laravel 5

But is that the right way of doing this?

Community
  • 1
  • 1
Jamie
  • 10,302
  • 32
  • 103
  • 186
  • Try out what has been suggested in the link that you have posted and if you face any problem with that, come back and ask a clear question. – Blip Jan 17 '16 at 13:03
  • @MadhavDatt why is that relevant to my question? – Jamie Jan 17 '16 at 14:07

2 Answers2

0

While the article you provided should work, why don't you try this https://laravel.com/docs/5.1/routing#parameters-regular-expression-constraints ?

Mahmoud Tantawy
  • 713
  • 5
  • 12
0

you can use guzzle http for multiple get or post request using php https://packagist.org/packages/guzzle/http

Imtiaz Pabel
  • 5,307
  • 1
  • 19
  • 24