Send post request to Instagram from app

I tried to send Instagram post request inside my application. out of the application with curl everything goes fine but when I try to send request from the application I have an error wich I can not understand what says.

my request code:

 {'Content-Type': 'application/x-www-form-urlencoded'} )
        .then(function() {
console.log("that was successfull");
          }, function(err)  {
            console.log("in higher level we got an error " + JSON.stringify(err) );

my log:

log in higher level we got an error 
    "Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"
}, "statusText":""}

and this is my whitelist:

<allow-navigation href="http://*/*"/>
<allow-navigation href="https://*/*"/>
<allow-navigation href="data:*"/>
<access origin="*" subdomains="true"/>

in addition, when I send another post requests to my local web server it works correctly and I think my problem is just with Instagram request sending.

guys, is there not there any solution ? I just stuck for a week this problem :frowning: