And to get the HN post titles:<p>curl -d url=<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;</a> -d json_data=&#x27;{&quot;title&quot;:[{&quot;elem&quot;:&quot;.title &gt; a&quot;,&quot;value&quot;:&quot;text&quot;}]}&#x27; <a href="http:&#x2F;&#x2F;www.jamapi.xyz&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.jamapi.xyz&#x2F;</a><p>This is cool :)<p>EDIT:<p>Incidentally, you don&#x27;t really need to have that &quot;index&quot; key inside the values of an array, because in an array the order is preserved anyway. Unless I&#x27;ve misunderstood what it means?