Forum Discussion

stevensullivan's avatar
10 years ago

API post syntax

Ive been looking all over the documentation and i cant find an example of an API Post. There are lots of examples of how to construct the URL, but i havent been able to find an example for the entire freemarker syntax

 

looking for something along these lines

 

<#sometag [stuff] /url/set?value="xyz" [stuff] />

 

Does anyone know how to do this?

 

thanks!

 

 

  • stevensullivan - Here is the syntax.

     

    <#assign setValue = "/users/id/${userId}/profiles/name/reservation/set/?value=${xyz}" />	
    ${rest(setValue)}

    Note: reservation is our custom field. I hope this helps.

2 Replies

  • stevensullivan - Here is the syntax.

     

    <#assign setValue = "/users/id/${userId}/profiles/name/reservation/set/?value=${xyz}" />	
    ${rest(setValue)}

    Note: reservation is our custom field. I hope this helps.