4
i am passing some parameters with access token from my laravel 1 application to laravel 2 application like below.
Laravel 1 App:
$Client= new \GuzzleHttp\Client();
$get_result = $Client->post('http://ift.tt/2wm4PsP', ['headers' => ['Authorization' => $access_token ],'form_params' => ['common_datas' => $common_datas,
'location' => $location]]);
Laravel 2 App:
public function search(Request $request)
{
$all = $request->all();
$get_post_ids =Jobloc::where('city_state_country',
$all->location)->pluck('f_job_id');
$get_job_posts=Job::whereIn('job_id',$get_post_ids)
->where('job_status','active')
->select('job_title','job_type')
->get();
the issue is laravel 2 App ** is return 100 objects only in **laravel 2 App . bt not return 100 objects in laravel App 1 only return 25 objects, using that above($Client= new \GuzzleHttp\Client()) method so any posible for getting all response data from the laravel 2 app to laravel 1 App.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire