Andrew Poulos
8/4/2014 4:30:00 AM
I'm trying to us an elearning tracking piece of js called tincan that
posts JSON to an endpoint. The content type is set to application/json
and the request body (as IE's F12 developer console shows) is json. The
response headers give
response : HTTP/1.1 200 OK
content-length : 0
content-type : application/json; charset=utf-8
Though Chrome's developer console gives a content length of 16568.
When (on the server with classic ASP and JScript) I try
var dat = Request.Form;
or
var dat = Request.Form + "";
or
var dat = eval("(" + Request.Form + ")");
I just get 'undefined'.
My question is, if the payload is not empty why does request give undefined?
Andrew Poulos