问题
After creating a pass, I can add it to device, register device by saving data to database. Next, how can I generate GET request to webServiceURL/version/devices/deviceLibraryIdentifier/registrations/passTypeIdentifier?passesUpdatedSince=tag ? I see this in console:Apr 4 10:08:26 CamMobs-iPod4 passd[12098] <Warning>: Generating GET request with URL <http:/192.168.1.202:8888/passesWebserver/v1/devices/02d6566cc59dc34e3abd116eed498898/registrations/pass.cam-mob.passbookpasstest>
Apr 4 10:08:26 CamMobs-iPod4 passd[12098] <Warning>: Get serial #s task (for device 02d6566cc59dc34e3abd116eed498898, pass type pass.cam-mob.passbookpasstest, last updated (null); with web service url http://192.168.1.202:8888/passesWebserver/) got response with code 200
Apr 4 10:08:26 CamMobs-iPod4 passd[12098] <Warning>: Get serial #s task (for device 02d6566cc59dc34e3abd116eed498898, pass type pass.cam-mob.passbookpasstest, last updated (null); with web service url http://192.168.1.202:8888/passesWebserver/) encountered error: Server response was malformed (Missing response data)
来源:https://stackoverflow.com/questions/15802000/how-to-generate-get-request-to-webserviceurl-version-devices-devicelibraryidenti