'Use api.domain.com or domain.com/api
Is there advantages/disadvantages in these approaches? I saw some programers using /api as reverse proxy to the API. Some are using api directly in clients.
I have an application with clients as React and mobiles. Not sure about best approach here.
As one disadvantage of /api - in case of Web application down our API will be unavailable for mobiles too.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
