About the collaboration between ios, php, and cakePHP

Asked 2 years ago, Updated 2 years ago, 51 views

I am currently developing SNS on iOS.
But it's my first time touching the server side, so I'm having a hard time.

I believe that requests from the client (iOS) side to the server side will be sent via GET or POST, but do you mean that the resources (URL) for those HTTP methods need to be told to the client side developer about the resources created on the server side?

I'm sorry if I said something strange.
If the explanation is not good enough, I will supplement it.

ios swift php cakephp

2022-09-30 19:39

1 Answers

If you want to resolve the URL dynamically at runtime in any way, use the
rule. Otherwise, if the URL of the action call corresponding to the controller of CakePHP has been determined, of course, the URL cannot be requested unless the client knows them.

Also, I think we only allowed SSL communication by default if it was from iOS9, so it would be better to communicate via HTTPS instead of HTTP.


2022-09-30 19:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.