I am considering which base URL to use for the REST web service. I have the opportunity to use one of the following formats:
I would like it to be easy to use with javascript client applications and protected from forged requests. Is there a best practice to follow here?
If domain.com is a common domain, then each part should have its own subdomain, and no one should use the main domain, which is a prerequisite for the separation of all sessions.
domain.com , .
Source: https://habr.com/ru/post/1772213/More articles:ASP.NET MVC action filters: does setting the Context.Result filter in a filter prevent other filters from being executed? - asp.net-mvcHow to use variables in SQL Reporting 2008 R2 - sqlСтиль прокрутки - c#What does “getting the right level of abstraction” mean? - oopPopUpExtender in ImageButton inside GridView problem - asp.nethash.delete_if {| key valueXHR does not work because "Origin is not allowed Access-Control-Allow-Origin" - jquerytemporary image file in ruby - fileJQuery: как написать функцию плагина, которая примет имя функции как строку и запустит ее? - functionIs there a good library for embedding the command line in a scala (or java) application - javaAll Articles