Created
March 11, 2020 11:02
-
-
Save damoodamoo/a16ab2d7c07f0a24f59d6c0a8df415f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PostMapping("/process-items") | |
public InvokeResponse processItems(@RequestBody InvokeRequest req) { | |
System.out.println("JAVA: Received items and sending... elsewhere..."); | |
// we get a list of items, and do *something* | |
// ... then push them somewhere else... | |
InvokeResponse resp = new InvokeResponse(); | |
resp.Outputs.put("output1", req.Data); | |
resp.Outputs.put("output2", req.Data); | |
return resp; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment