How can I differentiate the call between client ios app & browser call?
session_controller - create method is being used by both client & rails
web
application.
I want to restrict for web application to use create method.
how can I achieve this?
Check the user-agent string. Just keep in mind that it’s possible for
clients to change that, but AFAIK that’s the only way the web server has
to identify the client.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.