Adding Parameters to TscHTTPWebRequest (Delphi)
Posted: Mon 07 Mar 2022 23:22
I need to add some parameters for a POST call.
How do I go about doing this using TscHTTPWebRequest?
Is it as simple as just adding a header?
With other components (TRestCLient, Indy..) I used AddParameter(Name, value).
Do I just use a WriteBuffer or use the RequestStream property?
Can someone show me how to add these parameters ?
grant_type:password
username:SomeUsername==
password:SomePassword==
scope:openid ability:accessapi
How do I go about doing this using TscHTTPWebRequest?
Is it as simple as just adding a header?
With other components (TRestCLient, Indy..) I used AddParameter(Name, value).
Do I just use a WriteBuffer or use the RequestStream property?
Can someone show me how to add these parameters ?
grant_type:password
username:SomeUsername==
password:SomePassword==
scope:openid ability:accessapi