DeviceCheck Server API Response
Originator: | michael.der.schwarz | ||
Number: | rdar://36866943 | Date Originated: | 25-Jan-2018 04:02 PM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | API v1 |
Classification: | Other Bug | Reproducible: | Always |
Summary: “https://api.devicecheck.apple.com/v1/query_two_bits” delivers a string “Failed to find bit state” if the bits for a device were never updated. The content-type of the response is “application/json; charset=UTF-8”, although it should be “text/plain” Steps to Reproduce: - Create and device check token for a new device. - Use this token + the JWT bearer to call “https://api.devicecheck.apple.com/v1/query_two_bits” - Response is “text/plain”, content-type = “application/json” Expected Results: Correct content-type Actual Results: Wrong content-type Version: API v1 Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!