Bonjour Fred,

It looks like you have an older version of ERRest on the server. Do you bundle 
your frameworks inside the application bundle (the .woa) ? If not, you should 
do it.

> 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
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to