( ),
fbzx
draftResponse
pageHistory
( , "", -
NSString *authValue = [NSString stringWithFormat:@"Bearer %@", yourAccessTokenGottenFromGTMOAuth];
[request setValue:authValue forHTTPHeaderField:@"Authorization"];
, , ,
cocoapods
pod 'GTMOAuth2', '~> 1.1.2'
pod 'GTMSessionFetcher', '~> 1.1'
auth, OSX ( cocoapod GTMOAuth2)
HTTP GET form html ( NSScanner - ) , fbzx draftResponse .
, , google auth, , :
draftResponse = stringGottenFromHTMLGETAndParse & entry.someNumber = SomeValue & fbzx = stringGottenFromHTMLGETAndParse2 & = stringGottenFromHTMLGETAndParse3 & pageHistory = stringGottenFromHTMLGETAndParse4 & = stringGottenFromHTMLGETAndParse5
GTMOAuth2 HTTP- , , draftResponse .
I needed to add hidden inputs such as fbzx for HTTP POST in order to work when I had the option included in the form to automatically send email to users using the form.
source
share