Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indy HTTP client- Need help on Overwriting HTTP method
#1
Hi, I used to built a Upnp control point using indy 10.5.9.4967.  Wtih Upnp event subscribe, I overwrite the HTTP method with following code and it works:
form1.myhttp.HTTPMethod := 'SUBSCRIBE';
......
form1.myhttp.Get(URL);

With Indy 10.6.1.518, I find idHTTP client doesn't have property "HTTPMethod" anymore and I tried following two property which doesn't work:
myhttp.Request.Method := 'SUBSCRIBE';
myhttp.Request.MethodOverride := 'SUBSCRIBE';

Can someone help me out?  thank you!
Reply


Messages In This Thread
Indy HTTP client- Need help on Overwriting HTTP method - by happyzj - 03-04-2020, 04:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)