I'm trying to parse a body that is coming to me after an api call using ajax angularJs.
After call the response is:
--3531b7e68196e3144197f82db0864b7e391c8b0ad51c4176c28f8ac41b3c
Content-Disposition: form-data; name="passport"; filename="passport.json"
Content-Type: application/json
{
"name": "Nothing",
"dob_display": "10/11/1997",
"dob_accuracy": "FD",
"owner_firstname": "Nothing",
"owner_surname": "To Understand"
}
--3531b7e68196e3144197f82db0864b7e391c8b0ad51c4176c28f8ac41b3c--
I didn't find a plugin to get the body from this request. Do I need to make manual parser or I could get another solution.
Can someone help me?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…