Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
16 replies
Subscribers
7 subscribers
Views
11243 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
How to use WEB API ? What authentication changes will be require ?
simples
over 7 years ago
Hi All,
#WebAPI
I have created a Web API in 16.2, have selected 'Start Process' as Template, Method is 'POST'.
It is working fine when I am testing that web API but I don't have any idea how I allow third party to access it. I tried to understand things mentioned on forum regarding Authentication but unable to understand.
Also I noticed that we don't receive URL for template 'Start Process', so I have only End Point.
Can someone please guide how we can publish our Web API and allow third party(Outside of Appian) to access it ?
OriginalPostID-247198
Discussion posts and replies are publicly visible
Parents
0
chetany
A Score Level 1
over 7 years ago
Web API needs Basic Authentication. In basic authentication, you need to create a string in this format: "Basic ENCODEDUSERNAME:ENCODEDPASSWORD". The username and password need to be encoded in Base 64. Then pass this authentication in the Header with the key "Authorization" and value equal to the "Basic ENCODEDUSERNAME:ENCODEDPASSWORD"
If you are going to call the web api from Java, you need to follow the above steps sequentially.
If you just want to test it from outside Appian, use a chrome plugin like "Postman". Postman will encode the values for you. Just add a header in the request.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
chetany
A Score Level 1
over 7 years ago
Web API needs Basic Authentication. In basic authentication, you need to create a string in this format: "Basic ENCODEDUSERNAME:ENCODEDPASSWORD". The username and password need to be encoded in Base 64. Then pass this authentication in the Header with the key "Authorization" and value equal to the "Basic ENCODEDUSERNAME:ENCODEDPASSWORD"
If you are going to call the web api from Java, you need to follow the above steps sequentially.
If you just want to test it from outside Appian, use a chrome plugin like "Postman". Postman will encode the values for you. Just add a header in the request.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data