Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jsonRawRequest := TJSONObject.Create;
- jsonObject.AddPair('CodeNumberTextBox', '');
- jsonObject.AddPair('txusername', myUsername);
- jsonObject.AddPair('txpass', myPassword);
- jsonRequest := TStringStream.Create(jsonRawRequest.ToString(), TEncoding.UTF8);
- idHttp.Request.ContentType := 'application/json';
- idHttp.Request.Referer := 'SomeURL';
- idHttp.Post(URL, jsonRequest, ms)
Add Comment
Please, Sign In to add comment