Sathish_J
(Sathish J)
1
Hi Team,
can we configure dynamic path in requests.json?
“fetchFieldApi”: {
“schema”: {
“protocol”: “https”,
“method”: “GET”,
“host”: “virat.ngrok.io”,
“path”: “<%= context.apiUri %>”,
“headers”: {
“Authorization”: “Bearer <%= iparam.freshdesk_api_key %>”,
“Content-Type”: “application/json”
}
},
“options”: {
“isOAuth”: true,
“maxAttempts”: 5
}
},
Raviraj
(Raviraj Subramanian)
2
Hi @Sathish_J,
Yes, the path supports the context variable.
Find all the variables’ limitations in the documentation here - Freshworks Developer Docs | Use request method to place secure HTTP calls
Sathish_J
(Sathish J)
3
Thank you @Raviraj
It is working
1 Like
Sathish_J
(Sathish J)
4
Thanks Ravi,
I was migrating my app from v2.2 to v2.3 while doing that i was getting 401 error while making api call to freshdesk
This is my iparams file
This is my request template
This is the error i am getting while making api call to freshdesk
system
(system)
Closed
5
This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.