Hi Guys,
I created a webApi and tested internally with the below code. I am getting Forbidden error,
PFB the code
a!httpQuery( url:"https://........../suite/webapi/testRunStatusForId", //I am working in a bank network method:"GET", queryParameters:a!httpQueryParameter( name:"id", value:261 ), basicAuthenticationCredentials:a!httpAuthenticationBasic( userName:a!scsField( externalSystemKey:"citestwebapi", fieldKey:"username" ), password:a!scsField( externalSystemKey:"citestwebapi", fieldKey:"password" ), preemptive:true ))
Test Output
Time
Dictionary
[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HTTP error connecting to cip-dit1.bankofamerica.com/.../testRunStatusForId 403 Forbidden,detail:No details available]]
But it is working fine inside the created webApi internal test build. Confused !!!
Kindly help me out guys
Discussion posts and replies are publicly visible
I created the webApi and provided administrator access to my id and I am testing it via expression rule with the same id . PFB the snapshot,
But still I am facing the issue..