HttpClient set property AllowAutoRedirect in AL
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
This is not supported in AL. https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpclient/httpclient-data-type
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!?
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.
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