I'm working on Apple MDM, when a device contacts my server and I dump the request, I can see this (among other things):
_contentType: 'application/x-apple-aspen-mdm-checkin',
body: <Buffer 03 04 05 06 07 ...>,
I am using restify and restify bodyParser()
I have obfuscated the actual hex. Now, when I convert the hex to ascii I can see this body string is the very beginning of a PLIST, but not the whole PLIST.
It looks like this:
<?xml version="1.0" encoding="UTF-8"?>?<!DOCTYPE pl
How can I access all of the data, is it in a buffer or something? I am new to nodeJS, so I don't really know how to go about accessing it.