Did you know ... | Search Documentation: |
Predicate cors_enable/0 |
:- use_module(library(http/http_cors)).
Access-Control-Allow-Origin
using
domains from the setting http:cors. This this setting is []
(default), nothing is written. This predicate is typically used for
replying to API HTTP-request (e.g., replies to an AJAX request that
typically serve JSON or XML).