Wednesday, 3 May 2017

Can RESTFUL API of Node js routed from a sub domain in godaddy which has its server hosted in aws

I am working on a project where I have a node js applications with a restful api in aws ec2 instance, but when I try added a domain name to it because I want a domain for my api. I have tried it but the json response is enclosed inside a html tags

<html>
    <head>
        <title>xyz.com</title>
    </head>
    <frameset rows="100%,*" border="0">
        <frame src="http://zz.xx.yy.ww:9000/getdata" frameborder="0" />
        <frame frameborder="0" noresize />
    </frameset>
    <!-- pageok -->
    <!-- 09 -->
    <!-- -->

</html>

Is it possible to have a domain for api. Please need help, Thank you...



via Harsha Varma

No comments:

Post a Comment