Cors origin with fetch method

HI, i don’t arrive to use consul kv with method fetch in my front cause i have a CORS ORIGIN problem. I haven’t find in documentation. I add on header my consul token but maybe i forgot something. It’s possible to help me or give me the link of documentation who explain how access to consul kv by front-end.
Thanks