How to use HEAD method in logic app

Yahya Shareef 1 Reputation point
2021-12-22T13:08:44.467+00:00

Hi i need to use HEAD method in my logic app to get the status of the previous http post request. But i dont see this HEAD option. But i can see enter custom value. so when i enter custom value as "HEAD" and make http HEAD request its throwing error as "Method is not allowed". Need help here how to use HEAD mehtod in logic app like how we are using get put and post etc.

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2021-12-23T11:07:54.253+00:00

    @Yahya Shareef Unfortunately you cannot use the HEAD method as it is not supported with the HTTP trigger. Currently only supported methods are GET, PUT, POST, PATCH or DELETE as mentioned in this document. Feel free to raise the feature request here for supporting the HEAD method in HTTP trigger.

    The workaround would be calling any service in between (such as APIM or function) which can call your HTTP service with the HEAD method or if feasible you can change the backend calling service method apart from HEAD.

    0 comments No comments

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.