I’m interested in using AppSmith to provide tools for my courses through LTI (Learning Tools Interoperability). LTI initiates a connection by POST parameters to the tool at launch.
Is there a way that I can have a page in an app receive POST parameters and act on them in a JSObject?
@ToddWhittaker You can pass parameters to a query’s run function and access it using
this.params.key - https://docs.appsmith.com/framework-reference/run#passing-params-to-run
Also, you can access the data returned by the POST response by using
I don’t quite think that answers my question. I don’t want to send a POST request. I want to receive one.
@ToddWhittaker Apologies for the confusion. I don’t think there is a direct way to do this on Appsmith today. In this case, a third-party tool like n8n would help if you use their Webhook
Thanks. For the record in case somebody else comes searching and finds this, I found LTI-as-a-service through https://ltiaas.com/. It will handle all the authentication and then hand me a token (via a GET-based redirect URL parameter) that I can use with their API to do everything I would like.