SHARE
TWEET

Untitled

a guest Dec 19th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jsonRawRequest := TJSONObject.Create;
  2.   jsonObject.AddPair('CodeNumberTextBox', '');
  3.   jsonObject.AddPair('txusername', myUsername);
  4.   jsonObject.AddPair('txpass', myPassword);
  5.   jsonRequest := TStringStream.Create(jsonRawRequest.ToString(), TEncoding.UTF8);
  6.  
  7.   idHttp.Request.ContentType := 'application/json';
  8.   idHttp.Request.Referer := 'SomeURL';
  9.   idHttp.Post(URL, jsonRequest, ms)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top