User Not Logging In Through iOS Hybrid App


#1

I’m trying to get a session_token with a user through my iOS app created in Ionic. The response is coming back with a status of -1. I am able to login through the Android app using the same code, Chrome browser on both Mac and Windows, and also using the curl command in the Mac OS X terminal.

url: myhost/api/v2/user/session
payload: {
email: me@mine.com,
password: somepassword
}
In the header, I’m sending the X-DreamFactory-Api-Key.

Is there something specific for iOS that I may be missing? I’m using Angular v1.x and sending the POST using $http.