Method Community


Trigger Function via API

Last post 11-17-2022 12:42 PM by Method_Inderdeep. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-14-2022 2:01 PM

    • Pedalo
    • Not Ranked
    • Joined on 11-14-2022
    • Posts 4

    Trigger Function via API

    Hi Community,

    I'm looking to run a function on a scheulde within Method.

    I can see there are options to run a function behind the load event of a webform, but wanted something more stable off the back of an extenrnal scheduled job through the Method API.

    From what I can see in the forum and the API documentation, it's only possible to update tables as a normal API is designed, so I have the following questions if anyone is able to help with their experience.

    1 - Is it possible to fire a function from the API?

    2 - If the answer to #1 is no, is anyone running functions in Method from an external cron?

    3 - I've tried hitting a webform using wget and cURL but it doesn't trigger the 'on load' function that gets fired when it's loaded using a browser.

    Before I configure Selenium, is there an easier (or more stable) route to take?

    Thanks to anyone that can help

  • 11-17-2022 12:42 PM In reply to

    Re: Trigger Function via API

    Replied here on another thread.

Page 1 of 1 (2 items)