public function generateFieldSlugRequest(Request $request)
    {
        $id = $request->id;
        $title = $request->title;
        $keys = $request->keys;
        return $this->generateFieldSlug('', $title, $id, $keys);
    }
public function generateFieldSlugRequest(Request $request)
    {
        $id = $request->id;
        $title = $request->title;
        $keys = $request->keys;
        return $this->generateFieldSlug('', $title, $id, $keys);
    }
public function generateFieldSlugRequest ( Request $ request ) { $ id = $ request -> id ; $ title = $ request -> title ; $ keys = $ request -> keys ; return $ this -> generateFieldSlug ( '' , $ title , $ id , $ keys ) ; }
Catches the post request from frontend.

@param  Request $request data of the request
@return string generated key
Catches the post request from frontend .