fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: HttpWebRequest method called 'Method'

HttpWebRequest method called 'Method' 1 year 6 months ago #3346

  leighproman's Avatar Topic Author leighproman Offline Posts: 21
Hi

Am in the process of trying to get our application compiling in X# and have a problem.

I'm trying to make use of the System.Net.HttpWebRequest class.
One of its methods is called 'Method' and when I try to use:

oWebReq:Method:="POST"

I get:

error XS9002: Parser: mismatched input ':' expecting EOS
error XS9002: Parser: mismatched input ':='

Presumably this is because its expecting a Method definition?
Is there a way around that?

Thanks

Leigh

Please Log in or Create an account to join the conversation.

HttpWebRequest method called 'Method' 1 year 6 months ago #3349

  Phil Hepburn's Avatar Phil Hepburn Offline Posts: 742
does '@@' in front of Method work ?

This is usually the good advice from our friend Karl - sorry for jumping in Karl ;-0)

Cheers,
Phil.

Please Log in or Create an account to join the conversation.

HttpWebRequest method called 'Method' 1 year 6 months ago #3350

  leighproman's Avatar Topic Author leighproman Offline Posts: 21
Yep - that works perfectly.

Thanks for the quick reply.

Leigh

Please Log in or Create an account to join the conversation.

  • Page:
  • 1