I think it would be a good idea to have a way to use APIR in templates. What is not clear to me is how to implement it. I have some ideas but I'm not sure which one would be the best:
This way the request would have the id 1 and we could use the responses in the whole document, right now I don't have a syntax for that, but it could be something like @=X=KEY.0.KEY (where X is the id number)
Maybe we could use a simpler syntax to make simple requests (GET only). Something like: <?url:URL.
P.S. I was also thinking about adding HTML parsing to extend even more the functionality of the templates. I don't know how viable this idea is, for the moment I'm going to focus on what I said above.
I think it would be a good idea to have a way to use APIR in templates. What is not clear to me is how to implement it. I have some ideas but I'm not sure which one would be the best:
Use a syntax like:
This way the request would have the
id
1 and we could use the responses in the whole document, right now I don't have a syntax for that, but it could be something like@=X=KEY.0.KEY
(where X is the id number)Maybe we could use a simpler syntax to make simple requests (GET only). Something like:
<?url:URL
.P.S. I was also thinking about adding HTML parsing to extend even more the functionality of the templates. I don't know how viable this idea is, for the moment I'm going to focus on what I said above.
I'll love to hear your opinion and ideas.