You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by OpenWhisk Team Slack <ra...@apache.org> on 2010/01/01 00:01:01 UTC

[slack-digest] [2022-02-13] #general

2022-02-13 04:37:58 UTC - Matt Welke: Got it to work. My init controller method had to be this instead:
```@Post
@Produces(MediaType.APPLICATION_JSON)
public String init() {
    return "";
}```
I had to make it return application/json instead of text/plain. But I could use any value (noticed that the Java 8 runtime returned the string "OK" so I thought it was text/plain at first.
tada : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1644727078866669
----