Hi!
I’ve made a application with ERRest. I made some test my localhost server and it works great.
I’ve tried to deploy on remote server. I could launch the application normally but when i try to post some data, i’ve got the following error:
er.extensions.eof.ERXKeyFilter.setAnonymousUpdateEnabled(Z)V.
I’ve made some research on that but could not find something helping me.
I’ve remove this line aFilter.setAnonymousUpdateEnabled(true); on my controller just to what was happening and i got the following message:
er.extensions.eof.ERXKeyFilter.setUnknownKeyIgnored(Z)V.
When i use the following instruction,
curl -X POST -d -v '{"title": “Toto","kind": "1","length": "18s","path”:"APath","thumbnailPath":"
https://dl.dropboxusercontent.com/","detail": "Penalty ”}'
http://opsoft.ca/cgi-bin/WebObjects/Server.woa/ra/highlight.json
I’ve got a could not resolve for every key of my json
[1/6]: "title": "Toto" --> <stdout>
--_curl_--"title": "Toto"
curl: (6) Could not resolve host: "title"
[2/6]: "kind": "1" --> <stdout>
--_curl_--"kind": "1"
curl: (6) Could not resolve host: “kind"
...
The same POST request works great in the local server but not in the remote one.
Do you have an idea?
Best!
Fred