Using drupal api wrapper for http get