Making a web API assessible from a Mobile App -
looking design/architectural inputs here. our company uses web chat customers chat end agents. have mobile app , want bring chat experience within our app native or close possible. don't want redirect them browser when initiate chat.
the chat software use, not have rest apis @ moment. have make use of existing apis web application using. these hosted on same tomcat server web application.
my question is: 1. needs done in order access these apis mobile? understand need exposed in someway? 2. exposing them on internet way? in internal network @ moment. 3. if hosted on internet - how done? 4. how ensure security?
some questions might not clear have limited understanding around a=subject try provide details.
thanks in advance, cheers
without knowing api or application, hard give full answer questions. there whole topics of security , best practices securing internet-facing applications & restful calls should covered; however, short answer question #2 'yes', exposing restful url on internet each corresponding api function needed required security, authentication, , capacity preferred way mobile apps consume services, such yours outside.
your #1 , #3 whole topics of programming, architecture , security need study before proceed.