Differentiate Client & browser http call

Hello All,

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?

Thanks,
Avi

Avi wrote in post #1122484:

Hello All,

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.