Parameters in URL of "Send HTTP Request" action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tuxberg
    Junior Member
    • Sep 2020
    • 2

    Parameters in URL of "Send HTTP Request" action

    Hello,

    I'm trying to use "Send HTTP Request" action to call some REST API method like /user/<ID>/mark when the ESPO entity is edited.
    My initial idea was to use "Send HTTP Request" with parametrised URL like http://host/user/{$user_id}/mark.
    BUT
    Surprisingly, I didn't find a way of doing that.
    I can pass parameters to the Payload section and Headers, but not to the URL.

    Anybody knows a good solution here?
    Thanks in advance!
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,
    Unfortunately, there is no ability to place some variable into the URL field so the logic could dynamically catch it and use it. Using variables are only available for Payload and Headers https://docs.espocrm.com/administrat...d-http-request.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8518

      #3
      Hi,

      The ability will be added.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • esforim
        Active Community Member
        • Jan 2020
        • 2206

        #4
        Any documents in relation to this? Checked Git for Issue and Commit but I can't seem to find reference to this Feature.

        Comment


        • yuri
          yuri commented
          Editing a comment
          This is a feature of Workflows tool.
      • tuxberg
        Junior Member
        • Sep 2020
        • 2

        #5
        Originally posted by yurikuzn
        Hi,

        The ability will be added.
        Thank you!

        Comment

        • Siman860013
          Junior Member
          • Oct 2020
          • 2

          #6
          Hello, has this feature been added? and if so which version?

          Comment

          • yuri
            Member
            • Mar 2014
            • 8518

            #7
            Added in 2.6.0 version.

            Advanced Pack 2.6.0 is released. Workflows: Send HTTP Request: Added support of PATCH, DELETE, GET methods. Send HTTP Request: Added support of placeholders in a request URL. Formula variables passing from action to action. The ability to use variables defined in a previous action of the same workflow rule. Send HTTP
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            Working...