Call a REST webservice from iPhone?

Discussion in 'iPhone/iPad Programming' started by hajira, Aug 15, 2012.

  1. macrumors newbie

    Joined:
    Jul 25, 2012
    #1
    I have a REST webservice with Get method in which I'm passing a parameter and retrieving the results from SQL database .Now I have to consume that websevice in iPhone using XCode .My url is like
    http://localhost:8732/IServices/RoleService/json/RolebyCPid/?companyId={23834B9B-88DF-4B72-AF0B7B152E23E124}&providerId={4257bc1a-3386-4464-9c74-0645ba1e08a4}
    Now how to call this url and also how to pass parameters using Xcode?
     
  2. macingman, Aug 15, 2012
    Last edited by a moderator: Aug 15, 2012

    macrumors 68020

    macingman

    Joined:
    Jan 2, 2011
    #2
    I think there is an iOS/iPhone developer forum here for these type of questions. [Edit: Moved]
     
  3. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3

Share This Page