web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to access the cook...
Power Automate
Suggested Answer

How to access the cookies returned from an API call

(1) ShareShare
ReportReport
Posted on by 17
I have an API, which returns cookies while authenticating.
And for using another APIs i need that cookies to pass as headers. How can i get the cookies from Authentication API?
I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at
    Hi  ,
     
    Could you please share some screenshot(mask all sensitive info) to understand your use case Pls?
     
    Thanks,
    Deenu
  • Shijina Profile Picture
    17 on at
    Response from Postman
    The above response i have got from Postman, which consist of 4 set-cookie, where as the below one, from PAD for the same API, i have received only 1 set-cookie.
    As this is the authentication API, i need those cookies to go forward with other API calls
     
     
    Response from PAD for same API call, only 1 set-cookie is returned here
  • Suggested answer
    Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at
    From my understanding, Postman operates differently and returns distinct parameters, whereas Power Automate Desktop's invoke web service action yields different parameters; therefore, we shouldn't compare the outcomes from PAD with those from Postman.
     
    However, ensure that you actually require the cookies values returned from an API for subsequent API calls, or if a token from the authentication method suffices.
     
    Thanks,
    Deenu
  • Shijina Profile Picture
    17 on at
    Thanks for your reply, Deenu. 
     
    Nope, all the 4 cookies are required for the next API call.
    How can i access those cookies? I tried various scripting methods as well, but no results.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard