Forum Discussion
5 Replies
Sort By
vivek - There is an API V2 call for this. However, you can only use this call inside the endpoint. Here is the documentation for this https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&collection=users#action-update-last_name.
- 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.
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,
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
- 7 years ago