GET returning HTML "JavaScript is disabled"

Hello,

when I’m trying to get the user details of a user using the API, I receive the following response:

<!DOCTYPE html><html lang=en><head><base href="/" /><meta charset=utf-8><meta
            http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport
            content="width=device-width,initial-scale=1"><link rel=icon
            id=favicon><link rel=preload href=config.js as=script><title>One</title><link
            href=css/chunk-24f0a74e.41b29c9f.css rel=prefetch><link
            href=css/chunk-70e08de9.9a66b6eb.css rel=prefetch><link
            href=js/chunk-24f0a74e.df63b780.js rel=prefetch><link
            href=js/chunk-2d0c1b89.2b4c19c1.js rel=prefetch><link
            href=js/chunk-70e08de9.8dec740a.js rel=prefetch><link
            href=css/app.61aa77f6.css rel=preload as=style><link
            href=js/app.5fd36fca.js rel=preload as=script><link
            href=js/runtime.439ce382.js rel=preload as=script><link
            href=js/vendors.313c2834.js rel=preload as=script><link
            href=css/app.61aa77f6.css rel=stylesheet></head><body id=one><noscript><strong>JavaScript
                is disabled in your browser!</strong><p>We're sorry but Corteza
                doesn't work properly without JavaScript enabled. Please enable
                it to continue.</p></noscript><div id=app></div><style>@import url("custom.css");</style><script
            src=config.js></script><script src=js/runtime.439ce382.js></script><script
            src=js/vendors.313c2834.js></script><script src=js/app.5fd36fca.js></script></body></html>

The most important part saying:

JavaScript is disabled in your browser!
We’re sorry but Corteza doesn’t work properly without JavaScript enabled. Please enable it to continue.

Why am I getting this? Why is the GET method returning a HTML instead of a JSON, which I specified in the command? Is there something I can do to fix this?

I’d appreciate any tips :slight_smile:

Which url was used ?
Here is the section talking about API and integration pathways : Integration Gateway :: Corteza Docs

1 Like