I should make a json call with javascript:
var arr = { username: "user@user.com", password : "mypassword" , portfolioID : "xxxxxxxxxxxxxxxxx" };
    $.ajax({
        url: 'https://siam.eseye.com/login',
        type: 'POST',
        data: JSON.stringify(arr),
        dataType: "json",
        contentType: 'application/json; charset=utf-8',
        async: false,
        success: function(msg) {
            alert(msg);
        }
    });
the error that comes back to me : CORS header " Access- Control-Allow -Origin " missing . Attention, before saying that it is a double question , read here , I searched online and I did :
- inserted header ( " Access- Control-Allow -Origin : * " ) ; 
- Wamp > Apache > Apache Modules > headers_module enabled 
- added the datatype 
- dataType: json or jsonp the error remain 
after all of this evidence , it will not work the same .
Is there anything else I forgot to try? with Postman the API work.
Thank you.
 
    