Forum Discussion
vivek
8 years agoAce
Tariq - Thanks for the solution. Actually we want to hit this API from outside as well as it should provide proper HTTP Response & HTTP Status code.
TariqHussain
8 years agoBoss
vivek- This API will work and provide you the proper response from outside of lithium.
- shravani8 years agoGuide
Hi TariqHussain,
Can you please give me an example of how to call this PUT api in freemarker.
Thanks,
- TariqHussain8 years agoBoss
shravani- You can use http.client for that.
http.client.request("protocol", "host", "url").put()
This only can be used inside endpoints and initialization script.
https://freemarker-docs-portal.lithium.com/refer/contextObjects#httpClient
Related Content
- 8 years ago