01-03-2013 02:53 PM
The longstanding dynamic licence flow PDF at http://us.blackberry.com/developers/appworld/Dynam
The vendor portal expects the following response:
HTTP/1.1 200 OK
Content-Type: application/www-url-encoded
Content-Length: 20
key=ABCDEFGHIJK
The page at http://supportforums.blackberry.com/t5/BlackBerry-
It is expected that the vendor's server will respond with only the key in the following format:
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 8
key=abcd
1. Which is correct? What is the proper Content-Type to return: "application/www-url-encoded" or "text/html"? Or the content type that implies URL encoding and is actually standard: "application/x-www-form-urlencoded"?
2. Can somebody at BlackBerry please fix the incorrect documentation?
Thanks.
01-03-2013 03:22 PM
I believe the server does not care about your content type.
What is shown is actually the header as well as the body of the response.
Just output the key=xxxxx in the output of your script and you should be good to go.