title: What are the differences between the first and second object in the created azure function?
body: <p>When i run command</p>
  <pre><code>func new --name getTodo
  </code></pre>
  <p>i get the following code in my function.json file</p>
  <pre><code>{
    &quot;bindings&quot;: [
      {
        &quot;authLevel&quot;: &quot;function&quot;,
        &quot;type&quot;: &quot;httpTrigger&quot;,
        &quot;direction&quot;: &quot;in&quot;,
        &quot;name&quot;: &quot;req&quot;,
        &quot;methods&quot;: [
          &quot;get&quot;,
        ],
      },
      {
        &quot;type&quot;: &quot;http&quot;,
        &quot;direction&quot;: &quot;out&quot;,
        &quot;name&quot;: &quot;res&quot;
      }
    ]
  }
  </code></pre>
  <p>so i have two objects in array - what is the difference between the first and the second one ? What are the meanings of  &quot;direction&quot;: &quot;in&quot;, vs  &quot;direction&quot;: &quot;out&quot;, in the second object ?</p>