AL icon indicating copy to clipboard operation
AL copied to clipboard

HttpClient set property AllowAutoRedirect in AL

Open xdimidrolx opened this issue 2 years ago • 4 comments

Hi all,

I'm currently seeking information on how to set a new value for the "AllowAutoRedirect" property using the new AL syntax. Any tips or guidance you could provide would be greatly appreciated.

br

xdimidrolx avatar Sep 22 '23 15:09 xdimidrolx

This is not supported in AL. https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpclient/httpclient-data-type

NKarolak avatar Sep 25 '23 07:09 NKarolak

Hi @NKarolak

Yes, I saw the documentation before opening the thread. It is not clear to me on how to handle the scenario on when I need to suppress the autoredirect from the AL, similar to AllowAutoRedirect method from the .net!?

xdimidrolx avatar Sep 25 '23 07:09 xdimidrolx

As outlined. This is not possible currently.

@KennieNP mentioned, that there are plans for proxy support on the HttpClient. https://www.yammer.com/dynamicsnavdev/threads/2398372146438144 Maybe this development can be combined. Addtional check the ideas page and search for this property and otherwise create an idea there and share it here and on yammer to gather votes on this topic.

pri-kise avatar Sep 25 '23 08:09 pri-kise

I have added it to the list

On Mon, 25 Sept 2023 at 10:56, pri-kise @.***> wrote:

As outlined. This is not possible currently.

@KennieNP https://github.com/KennieNP mentioned, that there are plans for proxy support on the HttpClient. https://www.yammer.com/dynamicsnavdev/threads/2398372146438144 Maybe this development can be combined. Addtional check the ideas page and search for this property and otherwise create an idea there and share it here and on yammer to gather votes on this topic.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/AL/issues/7514#issuecomment-1733208742 or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXE6S4J5334TAOO3N4VZ3TX4FBKFBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE2DQOBXGU3TSNZTURXGC3LFVFUGC427NRQWEZLMVRZXKYTKMVRXIX3UPFYGLLCJONZXKZKDN5WW2ZLOOSTHI33QNFRXHE4CUR2HS4DFVJZGK4DPONUXI33SPGSXMYLMOVS2QNZUG43DQOJZGOBKI5DZOBS2K2LTON2WLJLWMFWHKZNKGE4TAOJQHA3DAMJWQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKJUHA4DONJXHE3THJ3UOJUWOZ3FOKTGG4TFMF2GK . You are receiving this email because you were mentioned.

Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

--


Kennie Nybo Pontoppidan

Email: @.***

Twitter: @KennieNP

www and cv: http://pontop.dk

KennieNP avatar Nov 04 '23 16:11 KennieNP