Application was not working due to the X-Requested-With not being set on...

... the request. Added a headers value to the Resource declaration so it would trigger adding the headers to the request.