Web API with POST Method

Hi, I'm trying to create a query datastore WEB API with a POST HTTP Method. Is there a way to test request through Appian as I can't seem to find the field to edit the request body? Thanks

OriginalPostID-251548

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    @erick258 however if the Third Party is from Java Environment then we can use Jersey Client implementation as attached in screenshot,

    here employeeId is the Parameter which is required to fetch the Employee Details from DB, and name contains the Third Party Credentials for UserName, password contains the Third part Credentials Password, url contains the Web-API Url having required parameter that is employeeId, so after Execution i am successfully able to get the Data in JSON Format from the WebAPI i.e. from Appian Environment to Non-Appian Environment

    Here username and passwords are not part of Web-API Parameters, it's just the authentication details for accessing the Web-API similar as a!scsField() inside a!httpQuery()

    Hope this will Help You
Reply
  • 0
    Certified Lead Developer
    @erick258 however if the Third Party is from Java Environment then we can use Jersey Client implementation as attached in screenshot,

    here employeeId is the Parameter which is required to fetch the Employee Details from DB, and name contains the Third Party Credentials for UserName, password contains the Third part Credentials Password, url contains the Web-API Url having required parameter that is employeeId, so after Execution i am successfully able to get the Data in JSON Format from the WebAPI i.e. from Appian Environment to Non-Appian Environment

    Here username and passwords are not part of Web-API Parameters, it's just the authentication details for accessing the Web-API similar as a!scsField() inside a!httpQuery()

    Hope this will Help You
Children
No Data