codeimag.es
codeimag.es copied to clipboard
Now rate limiting is done based on user's number of credits Just making this issue to note that for rate limiting in terms of number of calls is easy to...
> When a client exceeds the rate limit, the API may respond with an error code (such as 429 - Too Many Requests) or temporarily block further requests until the...
Now the search endpoint returns `templates.TemplateResponse` which is nice for the website, but I would like to expand the post snippet script to also be able to search the API.
One cool feature of Mastodon is RSS ([which made me backup my toots](https://github.com/bbelderbos/mastodon-backup)). I can imagine people be interested in following new coding tips being posted to [this API](http://pybites-codeimages.herokuapp.com) via...
posting a new tip, heroku logs: ``` 2024-09-05T07:36:37.616842+00:00 app[web.1]: 89.40.87.171:0 - "POST /create HTTP/1.1" 500 2024-09-05T07:36:37.617713+00:00 heroku[router]: at=info method=POST path="/create" host=pybites-codeimages.herokuapp.com request_id=5008cb19-acf5-448e-b44d-1af27d52bf0f fwd="89.40.87.171" dyno=web.1 connect=0ms service=873ms status=500 bytes=193 protocol=https 2024-09-05T07:36:37.619799+00:00...