dark_mode edit EN
  • Data WFetch :cUrl
  • Type Character
  • Initial value ""

Service web URL to execute. When using the CGI itself for a web request, it is normal to use the Service method.

For example:

WITH OBJECT oFetch := WFetch():New()
   :cUrl      := ::Service( "Srv_Provincias" )
   :cTargetId := "select2"
   :cSourceId := "button1"
   :cCallBack := "myFill"
   :cContentType := "application/json"
END WITH
When you assign this property, the oUrl property is automatically created, allowing you to handle the URL in a more agile way.

Previous chevron_left Next chevron_right