API Call failed with error "enable javascript"

Hello
I am trying to access the Bitcoin node using API locally.
However, I am getting the error “enable javascript”. I searched the forum but no luck.
Please share the resolution if anyone resolved the same issue.