Calling Anvil HTTP endpoint from Javascript on other site

You will need to set the cross site scripting header stuff. This post might help :