var url=\"http://fsa.citop.in/lnct/service/signProcess.aspx\";
var data={txtLogId: \"abc@xyz.com\",txtLogPass: \"xyz\",hdnReqType2: \"sign87162\"};
var success=funct
For those who encounter this problem in AWS Lambda code editor it is most likely your session has timed out.
Try reloading the page and signing in again. It should resolve this.
It's most likely because the response is HTML and it's trying to parse it as something else. The <
at position 4 is the first < of <!DOCTYPE html...
.
You should try to specify dataType in your ajax call (see http://api.jquery.com/jquery.ajax/) and also make signProcess.aspx
to return something more useful (currently the response content type is application/json
but it prints HTML).