http requests

MLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://finalproject' is therefore not allowed access.

i am using REST to access the digital pins and change pin values it is working but i get this error in the inspect element portion of my web GUI any ideas on how to fix the error ?

Take a look here