I am having a terrible problem with a Laravel http request. Please help me solve this problem:
I assumed that I have 2 requests that are sent to the same controller :
When I ran Req 1 , then the next Req 2 . I just think that 2 Reqs are separate, so Req 1 and Req 2 work differently . But the result that I got was Req 2 could not be completed when Req 1 was running .
In the controller
- Req 1: I want to run a script to parse an HTML file using yangqi / htmldom
- Req 2: I want to return some simple value.
Edited: . My question is, why should my Req 2 wait for the first stage to complete? I think they should not depend on each other. Or some kind of problem with Laravel.
Thanks for your support,