I have a web API controller in asp.net core version 2.
this controller must receive requests from one domain for example test.com
test.com 's IP always change, therefor i can't limit this controller to IP.
what method can i use ?
just one of the controllers and the other's allow's any origins.
the controller is like this :
[HttpPost]
public IActionResult CBack([RequiredFromQuery]string id,
[FromBody] Newtonsoft.Json.Linq.JObject Cypher)