Creating a URL Request

Create a URL request that enables the device to forward a data request to the corresponding back-end.

The following code illustrates how to create a URL request.
NSString* urlString = [ODPAppSettings getApplicationEndpointWithError:nil];
ODPRequest* request = [ODPRequest requestWithURL:[NSURL URLWithString:urlString]];
/While using the ODP interface, you need to set the pre-processor directive USE_ODP_INTERFACE in the Build Settings.