Je travaille sur un projet où j'ai un nœud js applications avec une api reposante dans aws ec2 instance, mais quand j'essaye ajouté un nom de domaine parce que je veux un domaine pour mon api. Je l'ai essayé, mais la réponse JSON est enfermé à l'intérieur d'un balises htmlPeut RESTFUL API de Node js routé à partir d'un sous-domaine dans godaddy qui a son serveur hébergé dans aws
<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>
Est-il possible d'avoir un domaine pour api. S'il vous plaît besoin d'aide, Merci ...