If an API is being blocked, it can throw all sorts of strange errors, or can simply disconnect.
No. The server should respond with 403 Forbidden when normal request was blocked or the endpoint was restricted, indicating that it was security-related and was just not random bugs. Even some law requires servers to provide appropriate error responses, such as 403 Forbidden.
But I did not get 403 Forbidden.
InfinityFree terms states
The primary purpose of any script must be to produce a web page.
I was posting via REST API.
======
You may have noticed that trying to host an exceptionally busy WordPress site, or using demanding plugins can easily make hosting accounts reach their daily RAM and CPU limits.
A simple blog can run within those limits. Some hosting providers only offers 1GB free storage, and WordPress can’t be installed because they block some PHP functions. InfinityFree offers 5GB, which is enough to host a whole blog with image uploads. As I remember, I saw an option in cPanel to install WordPress (probably in site builder section). That’s why I assume InfinityFree server is optimized to host WordPress sites.
Plugins that consume so much RAM/CPU would already be blocked by the server limits like PHP max execution time and max memory. But they are not neccessary for average WordPress sites.
Anti-bot system also helps prevent high usage of RAM/CPU, but it is just auxiliary. You ought to equip CAPTCHA to completely prevent spams just like what I previously said.
=======
Admin has said in the past that using a workaround to do something that users aren’t intended to be able to do is frowned upon.
You misunderstood it. This paragraph
However, know that by doing so, it should be considered an exploit, and we may choose to implement measures against “hacking” like that, which may give you trouble.
just refers to this
We really don’t want people to be able to register new epizy.com subdomains…
…it’s not completely impossible to create new epizy.com subdomains.
A workaround would violate ToS, but it depends on what workaround you’re doing, and it’s the Admin that decides.