alecritson/Placid-Statamic

Example to make Post Request

kodeine opened this issue · 2 comments

Hello,
is it possible to make a post request to the API?

Hey @kodeine

You should be able to just specify the method as a parameter,

{{ placid:request url="http://someapi.com" cache="0" refresh="1200" method="POST"  }}
{{ /placid:request }}

If you're talking about form based submissions, currently this is unsupported, but in the pipeline

awesome! i was looking for form based submission.