Calling REST APIs from inline code at Azure Logic App

Mohamed Hussein 710 Reputation points
2024-12-14T17:28:08.9333333+00:00

Good Day,

Is there anyway to call REST API endpoint from inline code at Azure Logic App standard plan?

I've a quite long strign along with referecnes and long URLs, and have a shortening service REST API

It's kinda mix of regular experssions and string processing.

As i far got -require- is not supported at Node JS of Azure Logic App standard version

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,553 questions
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2024-12-16T04:27:40.9266667+00:00

    @Mohamed Hussein Thanks for reaching out to Microsoft Q&A.

    Calling Rest API endpoint(http/https) from java script inline code action is not supported.

    Refer to this documentation to know more information about the list of methods that are supported by Java script standard built-in objects.

    Better way would be making the call using http action and the output of this action pass to inline code and also inline code supports regex expression.

    Hope this helps, let me know if you have any further questions on this.

    Please accept as Yes if the answer is helpful so that it can help others in the community.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.