code: protected function processUrls(Request $request)
      {
          $externalRawMediaUrls = array();
  
          if ($request->get('urls')) {
              foreach ($request->get('urls') as $url) {
                  $externalRawMediaUrls[] = $url;
              }
          }
  
          return $externalRawMediaUrls;
      }
docs: process the given urls.
  
  @param Request $request
  
  @return array