My User is sending form data consisting of different content types like application/json , application/Text,image/jpeg
Is there any way I can extract the content type only just I need (without splitting whole payload using boundary)
Like below
----------------------------643047742134196705328818
Content-Disposition: form-data; name=“Json details”
Content-Type: application/json
{
“glossary”: {
“title”: “example glossary”,
“GlossDiv”: {
“title”: “S”,
“GlossList”: {
“GlossEntry”: {
“ID”: “SGML”,
“SortAs”: “SGML”,
“GlossTerm”: “Standard Generalized Markup Language”,
“Acronym”: “SGML”,
“Abbrev”: “ISO 8879:1986”,
“GlossDef”: {
“para”: “A meta-markup language, used to create markup languages such as DocBook.”,
“GlossSeeAlso”: [“GML”, “XML”]
},
“GlossSee”: “markup”
}
}
}
}
}
----------------------------643047742134196705328818
Content-Disposition: form-data; name=“FirstName”
Content-Type: application/Text
webMethods
----------------------------643047742134196705328818–