1. Hareshkumar Patel
  2. PowerBuilder
  3. Tuesday, 5 April 2022 09:19 AM UTC

Hi,

we are trying to replace native MS web browser control with new web browser control in our application. we need to navigate to different web pages using HTTP POST methods. 

Does this new Web Browser control provide an option to send data using HTTP POST Method ?

Any sample code example or pointers on how to implement the same using this new powerbuilder browser Control.

Thanks

Haresh

Julie Jiang @Appeon Accepted Answer Pending Moderation
  1. Thursday, 7 April 2022 13:53 PM UTC
  2. PowerBuilder
  3. # 1

Hi Hareshkumar,

Can you explain a bit about how you navigate to different web pages using POST when using the native MS web browser?  Is it through iNET?  Please note that if you set a non-IE browser as the default browser, it is still possible to use iNET.
 
Best regards, Julie
 
Comment
  1. Hareshkumar Patel
  2. Thursday, 7 April 2022 14:45 PM UTC
Hi Julie,



Currently we access all our web based interfaces using OLE control developed using .Net wrapper. underlying control is MS Browser control. our .Net Wrapper provides option to send all the data through HTTP POST Method.



with Microsoft deciding to move away from IE 11, our organization has decided to move away from IE and make everything Edge Browser compatible. we were planning to use this new Browser control to replace our existing browser control.



We are restricted to use GET method to send any data. also all these interface are UI based so I am not planning to use HTTPClient object to use its POST method.



Thanks
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 April 2022 01:30 AM UTC
  2. PowerBuilder
  3. # 2

Hi Haresh,

We don't have a feasible workaround for this currently. But we will record it as a requirement in our CR pool, I will get back to you once we have a plan to support this feature.

Regards,
ZhaoKai

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 April 2022 13:56 PM UTC
  2. PowerBuilder
  3. # 3

Hi Hareshkumar;

  Unfortunately, the current web browser control does not have a POST DATA feature. Only the iNET and the HTTPCllient object classes support this type of functionality. Appeon will be enhancing the Web Browser control in PB2022 with a much newer Chromium engine "under the hood" than the one PB2021 uses today. However, I have no idea yet if that will include a Post Data feature in PB2022.

Regards ... Chris

Comment
  1. Hareshkumar Patel
  2. Tuesday, 5 April 2022 14:28 PM UTC
Thanks Chris for quick response!



I have explored HTTPClient and it does support POST data but we are looking for UI based browser control only.



I also checked out on alternative control (https://doc.antview.dev/ ) based on webview2 and it has post method inbuilt. unfortunately we are not allowed to use any 3rd party products.



Thanks

Haresh
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.