News for hackers. Stuff that matters.
Re:Ask HN: What is your go-to example for a good REST API? by seanplusplus on Friday June 24, 2016 @04:19PM (#11973111)
The Slack API is a thing of beauty

https://api.slack.com/

Re:Ask HN: What is your go-to example for a good REST API? by dxhdr on Friday June 24, 2016 @06:53PM (#11974125)
I think it could use improvement. Look at https://api.slack.com/methods/chat.postMessage and explain how "as_user" makes any sense. And it gets more convoluted depending on other parameters used (IM channels, etc.)

Also, why can't I use a secret key with my basic postMessage script? I have to navigate OAuth2 just to make a post? Argh the pain!