Need help with using WordPress as a backend

[ad_1]

Hi guys . I have a WordPress website that i want to use as a backend. The problem is when I try to access the data using postman or any other frontend framework , I am getting the response below, but when I try to access the data directly from the browser the data is returned correctly. If anyone has faced the issue please help.

<html>
<body>
<script type=”text/javascript” src=”/aes.js”></script>
<script>
**function** toNumbers(d){**var** e=\[\];d.replace(/(..)/**g**,**function**(d){e.push(parseInt(d,16))});**return** e}**function** toHex(){**for**(**var** d=\[\],d=1==arguments.length&&arguments\[0\].**constructor**==Array?arguments\[0\]:arguments,e=””,f=0;f<d.length;f++)e+=(16>d\[f\]?”0″:””)+d\[f\].toString(16);**return** e.toLowerCase()}**var** a=toNumbers(“f655ba9d09a112d4968c63579db590b4”),b=toNumbers(“98344c2eee86c3994890592585b49f80”),c=toNumbers(“0cdaeb0edcbbc4b2b3f9e539d7a9b381″);document.cookie=”\_\_test=”+toHex(slowAES.decrypt(c,2,a,b))+”; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/”; location.href=”{my-website-title}”;
</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser
with Javascript support</noscript>
</body>

[ad_2]
2 Comments

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer