RESTfulAllowedOrigin not used for certain end points or GET requests
In the RESTful API Manager I set a value in RESTfulAllowedOrigin and then in my API requests I pass header Origin with the same value. This is for improved access control. But I notice this is only respected for certain end points. GetSessionsByFilter does not care what this is set to. Endpoint SendCommandToSession does respect it. I don't know if it is based on end point or whether you pass a request method of POST or GET. I always pass GET with GetSessionsByFilter and POST with SendCommandToSession
Is this as per design or is this a bug? Seems strange that there is difference in behavior.
Also related to this, using RESTfulAllowedOrigin is better than nothing but it is still not great security since this value can also leak just like the API key. A more secure way would be to allow IP whitelisting. Is that something that can be added?