Cucumber for Appian: Getting a response from Web Api Post Request

Hi everyone, I am currently exploring Cucumber on Appian and wondering how do I can get a response from for this script in the cheat sheet?

Given I post web api "WEB_API_ENDPOINT" with body "BODY" with username "USERNAME"
Also, if i have a long request body in json format request like 
{
applicationID: 123,
submission: {
date: 12-09-2019,
name: John, 
...}
}
Im wodnering if theres a better whay to manage this? like saving the request in a .json file and put in the path in the script?

  Discussion posts and replies are publicly visible