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
Replies
2 replies
Subscribers
9 subscribers
Views
1741 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
This is for Basic Authentication for a RESTful API: Given:
davidj578
over 9 years ago
This is for Basic Authentication for a RESTful API:
Given:
Third Party Credentials Name = "TPC"
password = "PWD"
username = "UID":
What is the correct syntax for:
a!httpAuthenticationBasic()
Syntax: a!httpAuthenticationBasic( [username, ][password, ][preemptive] )
Returns: Any Typeusername( ScsField )
password( ScsField )
preemptive( Boolean )
a!scsField()
Syntax: a!scsField( [externalSystemKey, ][fieldKey, ][usePerUser] )
Returns: Any
TypeexternalSystemKey( Text )
fieldKey( Text )
usePerUser( Boolean )
-Thank you,
OriginalPostID-151224
OriginalPostID-151224
Discussion posts and replies are publicly visible
Parents
0
rayudua
over 9 years ago
Try this,
a!httpAuthenticationBasic(
username:a!scsField( externalSystemKey:"testKey", fieldKey:"yourusername", usePerUser:false()),
password:a!scsField( externalSystemKey:"testKey", fieldKey:"yourpassword", usePerUser:false()),
preemptive:true()
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rayudua
over 9 years ago
Try this,
a!httpAuthenticationBasic(
username:a!scsField( externalSystemKey:"testKey", fieldKey:"yourusername", usePerUser:false()),
password:a!scsField( externalSystemKey:"testKey", fieldKey:"yourpassword", usePerUser:false()),
preemptive:true()
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data