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

TOPIC: HttpWebRequest method called 'Method'

HttpWebRequest method called 'Method' 1 year 3 months ago #1

  • leighproman
  • leighproman's Avatar Topic Author
  • Away
  • Posts: 8
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 3 months ago #2

  • Phil Hepburn
  • Phil Hepburn's Avatar
  • Offline
  • Posts: 737
  • Karma: 7
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 3 months ago #3

  • leighproman
  • leighproman's Avatar Topic Author
  • Away
  • Posts: 8
Yep - that works perfectly.

Thanks for the quick reply.

Leigh

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

  • Page:
  • 1