News for hackers. Stuff that matters.
Re:HTTP 402 – Payment Required by jakio on Friday June 06, 2014 @08:49AM (#7857540)
Still useful for API's with mixed (paid & free) content, so you can keep a uniform URL structure.
Re:HTTP 402 – Payment Required by NathanKP on Friday June 06, 2014 @09:14AM (#7857642)
This is exactly what I've used the 402 code for. Some API routes are available to all users, but others require paid access. If a freemium user attempts to access API routes behind the "paywall" I return the 402 code.