[Solved] How to call Mattermost API from iOS app?

Hi,
I can successfully run MM with docker on Mac.
Able to access web version correctly at http://docker.dev:8065.
I followed this document but when I call this http://docker.dev:8065/api/v3, doesn’t work.
I’m seeing “Mattermost needs your help:” error page only.
Did I miss something here?
All I want is to connect to my server from iOS app and test it out.

Thanks

Ok found the issue.
Docker is running V2.2 but iOS code was for V3.
I’ve downloaded iOS code for V2.1 and working now.