html - How to call this url using Only javascript -


i have url list of objects xml

https://test/ab

i want call using javascript try

function loadxmldoc() {       xhttp.open("get", "https://test/ab", true);       }     xhttp.send();     } 

please help

it gives status correct , ready state correct give me responsetext empty

but when try url on browser works fine

if cors problem try this addon in chrome. can go through question know more possible solutions problem.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -