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
  • You don't need POST method for passing username and password. username and password are sent in header and they are base 64 encoded. The name of the header should be "Authorization" and its value should be "Basic BASE64ENCODE(CONCATENTAION_OF_USERNAME_AND_PASSWORD) " You can do it with GET method too.

    In Postman, specify it as "Basic Authorization " under "Authorization" tab, and enter the username and password - it will automatically encode it for you to base64
Reply
  • You don't need POST method for passing username and password. username and password are sent in header and they are base 64 encoded. The name of the header should be "Authorization" and its value should be "Basic BASE64ENCODE(CONCATENTAION_OF_USERNAME_AND_PASSWORD) " You can do it with GET method too.

    In Postman, specify it as "Basic Authorization " under "Authorization" tab, and enter the username and password - it will automatically encode it for you to base64
Children
No Data