228 sats \ 4 replies \ @k00b 9 Nov 2023 \ parent \ on: Stacker Saloon
Oh I oversimplified that example (accidentally).
This should do it:
One more on all this stuff.
I wanted to play around with some queries without obsessing over how many \\ I need to escape quotes from bash, so I went here and put in the server you mentioned yesterday as the endpoint:
https://stacker.news/api/graphql
It can't connect. It seems like it should be able to connect, but maybe I'm doing something really dumb. If so, is there some other tool that would let me run queries in a less frictiony way that I could use?
reply
It's CORS most likely.
I'll embed the sandbox on my next deployment.
reply
That did indeed do it. Exciting!
reply
Edited because I forgot we have to include
sort: user
for back compat.reply