title: How to access the response from Airflow SimpleHttpOperator GET request
body: <p>I'm learning Airflow and have a simple question. Below is my DAG called <code>dog_retriever</code>:</p>
  <pre><code>import airflow
  from airflow import DAG
  from airflow.operators.http_operator import SimpleHttpOperator
  from airflow.operators.sensors import HttpSensor
  from datetime import datetime, timedelta
  import json
  
  
  
  default_args = {
      'owner': 'Loftium',
      'depends_on_past': False,
      'start_date': datetime(2017, 10, 9),
      'email': 'rachel@loftium.com',
      'email_on_failure': False,
      'email_on_retry': False,
      'retries': 3,
      'retry_delay': timedelta(minutes=3),
  }
  
  dag = DAG('dog_retriever',
      schedule_interval='@once',
      default_args=default_args)
  
  t1 = SimpleHttpOperator(
      task_id='get_labrador',
      method='GET',
      http_conn_id='http_default',
      endpoint='api/breed/labrador/images',
      headers={&quot;Content-Type&quot;: &quot;application/json&quot;},
      dag=dag)
  
  t2 = SimpleHttpOperator(
      task_id='get_breeds',
      method='GET',
      http_conn_id='http_default',
      endpoint='api/breeds/list',
      headers={&quot;Content-Type&quot;: &quot;application/json&quot;},
      dag=dag)
      
  t2.set_upstream(t1)
  </code></pre>
  <p>As a means to test out Airflow, I'm simply making two GET requests to some endpoints in this very simple <a href="http://dog.ceo" rel="noreferrer">http://dog.ceo</a> API. The goal is to learn how to work with some data retrieved via Airflow</p>
  <p>The execution is working- my code successfully calls the endpoints in tasks t1 and t2, I can see them being logged in the Airflow UI, in the correct order based on the <code>set_upstream</code> rule I wrote.</p>
  <p>What I cannot figure out is how to ACCESS the JSON response of these 2 tasks. It seems so simple, but I cannot figure it out. In the SimpleHtttpOperator I see a param for <strong>response_check</strong>, but nothing to simply print, or store, or view the JSON response.</p>
  <p>Thanks.</p>