News for hackers. Stuff that matters.
Re:Show HN: Curl https://ec2.shop by kolinkorr839 on Tuesday June 30, 2020 @10:00AM (#23690053)
Is there a way to show the output in json format?
Re:Show HN: Curl https://ec2.shop by mike-cardwell on Tuesday June 30, 2020 @12:25PM (#23691731)
Would be nice if both of these work (they don't):

curl https://ec2.shop -H 'Accept: application/json'

curl https://ec2.shop?json

Re:Show HN: Curl https://ec2.shop by kureikain on Tuesday June 30, 2020 @01:17PM (#23692371)
It should work that way now :-). Thanks for suggestion.
Re:Show HN: Curl https://ec2.shop by kureikain on Tuesday June 30, 2020 @01:16PM (#23692367)
Per suggest by mike-cardwell, I implemented this:

  curl https://ec2.shop -H 'Accept: application/json'
  curl 'https://ec2.shop?json'
  curl 'https://ec2.shop?txt'