objective c - iOS - How to get form data for an HTTP post -
when submitting http post using objective-c server, required form data entries include __viewstate
, __eventvalidation
, username, , password. user's username , password programmatically through ios application, hard-code __viewstate
, __eventvalidation
parameters looking @ entries through google chrome developer tools. problem once __viewstate
, __eventvalidation
parameters change, app defunct.
is possible __viewstate
, __eventvalidation
parameters programmatically, possibly storing them in cookie, or can send post request without them? need integrate javascript function xcode project?
it's related server-side logic because it's deal of client , server applications how use parameters, in in cases viewstate paramater given @ previous request. should not send first request. example:
- request1, authorization — sending username, password. (may) return viewstate.
- request2 — sending viewstate request1 , other parameters. (may) return new viewstate.
- request3 — sending viewstate request2 , other parameters. (may) return new viewstate.
- ...
i'm not aware __eventvalidation parameter can inspect actual traffic browser using debugging proxy tool such fiddler , try find out logic of it's usage.
Comments
Post a Comment