Problem whit Rest

Hi guys i try learn Ionic, i want to call a Rest service on my server from ionic app (start it with ionic serve) and the response is this error:

i know that the problems are cors filter, but if i try to do the same request from postman the Rest work fine.
How can i solve this?
thank for your support.

Add this in your .htacess, probably is in your server web!

If this file don’t exist, creat and paste this code! And save!

Header set Access-Control-Allow-Origin "*"

: )

Hello, Add CORS: Access-Control-Allow-Origin this extention in your browser(Chrome)

Thank you this work fine :slight_smile:

Another question… Why postman could send requst with success and ionic could’nt?