3 ms·
Please don't require a "session" unless it's possible to set an infinite timeout. It makes writing an API client very difficult, because before every request, y
by MichaelGG 12y ago
Please don't require a "session" unless it's possible to set an infinite timeout. It makes writing an API client very difficult, because before every request, you've gotta go check to see if your session is valid. In a backend scenario, this adds retry complexity that wouldn't be there otherwise.
It's so much easier if the request can contain an auth header/parameter pointing to a long-term API key or equivalent.