开发者

I want to call API in iphone ,I have a common url want to pass parametar according to my login page and registration page.we are using post method

开发者 https://www.devze.com 2023-02-23 14:14 出处:网络
my url is below - http://testing.safedatatech.com/ugifty/api/index.p开发者_Python百科hp request for registration page -

my url is below - http://testing.safedatatech.com/ugifty/api/index.p开发者_Python百科hp

request for registration page - REGISTER

response for registration post SUCCESS|FAILURE Error Code: 1.0 - Success 2.0 - Missing Field(s) 2.5 - Duplicate Email 3.0 - Invalid Request


The question is not clear, please edit for clarity. Do you want to load the web page in a UIWebView? or maybe programmatically call the url and get the result? The latter would involve NSURLConnection with a post request setup in the NSHttpRequest. Search the apple docs for those and read about it.

0

精彩评论

暂无评论...
验证码 换一张
取 消