<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to pass a refresh token using post methode in body in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877647#M2984</link>
    <description>&lt;P&gt;I managed to sort it out, eventually postman was my friend.&amp;nbsp; After setting it up in the gui i clicked on the code snippet column on the right&amp;nbsp; and selected http from teh dropdown&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That provide the raw output you will need for the body, in my case as simple as:&lt;/P&gt;&lt;P&gt;refresh_token=abc12345678&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no need for ', ", or {}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(My output was origincally set to curl, I guess i learned some postman today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 04:44:02 GMT</pubDate>
    <dc:creator>smeetsh</dc:creator>
    <dc:date>2024-04-30T04:44:02Z</dc:date>
    <item>
      <title>How to pass a refresh token using post methode in body</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877451#M2981</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: sorted, please see my own answer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to use a refresh token to get an acces topen, to get data from an API. The API forces me to use the post methode and as far as i know, that mean i have to put the refesh token in the body of the request, but I am stumped how to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;{"refresh_token" : "123456789abcd"}, and any variants i could think of, but it keep coming back with the error "no refresh token"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--data-urlencode &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;'refresh_token=123456789abc'&lt;BR /&gt;&lt;BR /&gt;For clarification, I can get it to work in postman, where it looks something like below, but how do I translate that to a web request in Fabric, uing post.:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Apr 2024 04:45:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877451#M2981</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2024-04-30T04:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a refresh token using post methode in body</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877647#M2984</link>
      <description>&lt;P&gt;I managed to sort it out, eventually postman was my friend.&amp;nbsp; After setting it up in the gui i clicked on the code snippet column on the right&amp;nbsp; and selected http from teh dropdown&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That provide the raw output you will need for the body, in my case as simple as:&lt;/P&gt;&lt;P&gt;refresh_token=abc12345678&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no need for ', ", or {}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(My output was origincally set to curl, I guess i learned some postman today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 04:44:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877647#M2984</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2024-04-30T04:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass a refresh token using post methode in body</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877793#M2986</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718450" data-lia-user-login="smeetsh" class="lia-mention lia-mention-user"&gt;smeetsh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad that you query got resolved and thank you for sharing the same with the community as it can be helpful to others. &lt;BR /&gt;Please continue using Fabric Community for further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 05:37:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-pass-a-refresh-token-using-post-methode-in-body/m-p/3877793#M2986</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-04-30T05:37:13Z</dc:date>
    </item>
  </channel>
</rss>

