Allowed posting to API.
Simplified SimpleRateLimit class and fixed tests.