# iOS post method is not working in real device

**URL:** <https://forum.ionicframework.com/t/ios-post-method-is-not-working-in-real-device/157596>\
**Category:** ionic-v3\
**Created:** [February 26, 2019, 12:17pm UTC](https://forum.ionicframework.com/t/ios-post-method-is-not-working-in-real-device/157596 "2019-02-26T12:17:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nirmalya-S](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nirmalya-s/32/123358_2.png) [@Nirmalya-S](https://forum.ionicframework.com/u/Nirmalya-S)\
**Post date:** [February 26, 2019, 12:17pm UTC](https://forum.ionicframework.com/t/ios-post-method-is-not-working-in-real-device/157596/1 "2019-02-26T12:17:48Z")

</div>

I have created a Ionic 3 Project in windows. Its works perfectly fine in Android. Then I copied the whole folder to Mac for iOS. I removed the plugins and platforms and reinstall it. It works fine as well. But the post Api request working fine in Safari (user agent iPhone) not in a real device(iPhone 6). I use “sudo ionic cordova build ios --buildFlag=-UseModernBuildSystem=0” to build the project.

Can anybody suggest what am I doing wrong?
