Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Status 404 from jquery get in Sense Extension

I'm doing a jquery get in my Sense Extension like this:

var jqxhr = $.get("http://localhost:8080/AmazonMQBridge/jaxrs/echo/message", function() {

    alert( "success" );

  })

This is returning a 404 (not found) status. I can copy the URL to a browser window and it works fine, so I know the URL is correct and the server is responding with text content.

Any suggestions?

Thanks,

Rob

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Never mind, got it figured out. It was actually a 403 status due to cross domain scripting restrictions. Fixed by enabling CORS in my server.

-Rob

View solution in original post

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP
Author

Never mind, got it figured out. It was actually a 403 status due to cross domain scripting restrictions. Fixed by enabling CORS in my server.

-Rob