3 ms·
Yeah everyone is fine with hardcoding API URLs, even submitting the resulting client to an app store. You're not going to fix that unless you (initially) make
by eterps 4y ago
Yeah everyone is fine with hardcoding API URLs, even submitting the resulting client to an app store.
You're not going to fix that unless you (initially) make the URLs unpredictable (that is, make the links the only way to know a URL).
But that will (initially) be costly to do. And is probably annoying to your API consumers as well.
So only consider this if you need reduced coupling and there is clear value in avoiding hardcoded URLs.