Reputation: 1
Please would anyone help guide me on how to handle redirects when trying to GET to a HTTPS Endpoint? The Logic App is to GET the status of this external/third-party HTTPS Endpoint (includes Basic authentication). This HTTPS Endpoint has got F5 BIG-IP which redirects to /my.policy and provides cookies.
When I try this through Postman, it works fine as Postman handles the redirects. BIG-IP is doing two redirect for this single query.
Please how can this be achieved in Logic App (Standard)?
Upvotes: 0
Views: 203
Reputation: 1721
Use Http trigger or action based on your requirement to redirect api in logic app.
As shown in below image, taken an http action and selected method type as Get.
Enter https endpoint url in URI.
Pass the headers same as you are passing in postman request.
Send body and cookie details also if it is required in your Get request call.
In Add new parameter, select authentication type.
There will be multiple authentication types like basic, none, client certificate, AD OAuth, raw and managed identity.
Below is referral link. Check if it helps in your case,
Upvotes: 0