Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+2
person also asked this
people also asked this
Replies
22 replies
Answers
1 answer
Subscribers
9 subscribers
Views
20681 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Web API with POST Method
erick258
over 7 years ago
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
+1
chetany
A Score Level 1
over 7 years ago
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
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
+1
chetany
A Score Level 1
over 7 years ago
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
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data