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
7 subscribers
Views
837 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, We had a few questions regarding webAPI introduced in Appian 7.9
prernad
over 10 years ago
Hi,
We had a few questions regarding webAPI introduced in Appian 7.9
Can we invoke the webAPI in the same environment?
Also, if it is possible how do we do it?
We tried to invoke the webAPI with the below code but got an error.
httpget(
endpoint : cons!URL,
paramNames :{},
paramValues :{},
headerNames : {"content-type"},
headerValues : {"application/json"},
user : username,
password : password
)
OR
a!httpQuery(
url : cons!URL,
basicAuthenticationCredentials :a!httpAuthenticationBasic(
username : a!scsField(
externalSystemKey : "testwebapi" ,
fieldKey : "testname" ,
usePerUser :false()
) ,
password : a!scsField(
externalSystemKey : "testwebapi" ,
fieldKey : "test" ,
usePerUser :false()
) ,
preemptive:true()
)
)
OriginalPostID-155986
OriginalPostID-155986
Discussion posts and replies are publicly visible
Parents
0
prernad
over 10 years ago
Thanks Gabreil !!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
prernad
over 10 years ago
Thanks Gabreil !!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data