Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12377 closed bug (invalid)

jQuery.getJSON("api/endpoint", ...} results in 404 in Chrome, works in IE

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:


I'm using jQuery.getJSON to interact with a REST endpoint. The endpoint is always relative to the html page from which I'm using jQuery.

jQuery.getJSON("api/endpoint", ...}

In development: http://computername/dev/api/endpoint http://computername/dev/page.html

In production: http://prod.url.com/api/endpoint http://prod.url.com/page.html

In the development environment using chrome I receive a 404 - the request according to chrome developer tools is: /api/contactread.

In the development environment in IE it works as the path is api/contactread.

Chrome version: 21.0.1180.83 IE Version: 10.0.9200.16384

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Resolution: invalid
Status: newclosed

Please use the forums for support - thanks!

Note: See TracTickets for help on using tickets.