On Mon, 02 Jan 2017 09:20:12 GMT, Inquie wrote:

Well, I don't seem to understand, I tried that, same issue.

I thought data added the resource to get rather than putting it in the url, tried a similar thing in soap and no worky either.

No, "greeting" needs to be part of the URL, it's the endpoint. The parameters (declared in the interface) are what go in the data, serialized as JSON. I tried your vibe.d application and it works, you just need to call it correctly. Here's an example using curl:

$ curl -H 'Content-Type: application/json' -X  PUT -d '{"text":"foobar"}' localhost/greeting
$ curl localhost/greeting
"foobar"

Note that the HTTP header Content-Type: application/json needs to be supplied for it to work as well. But I assume jQuery does that automatically, while curl doesn't.