The application had a wrong Content-Type which prevented it from working.

I have fixed the Content-Type to be application/json as per the json-rpc specifications
I also removed .DS_Store from the repo. It shouldn't be in source control