Skip to main content

Bug Tracker

Side navigation

#12377 closed bug (invalid)

Opened August 22, 2012 10:12PM UTC

Closed August 22, 2012 10:26PM UTC

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

Reported by: mcohen75@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

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

Attachments (0)
Change History (1)

Changed August 22, 2012 10:26PM UTC by rwaldron comment:1

resolution: → invalid
status: newclosed

Please use the forums for support - thanks!