{"data":
{ "id": "#customerId",
"type": "customer s",
"attributes": {
"contactInformation" : {
"emailAddresses" :
[
{
"emailAddress" : "\"unusual email with space\"@domain.com"
}
]
}
}
}
}
请求通过并进入我的API控制器,但空间被新行替换( )
"\"unusual email with\nspace\"@domain.com"
我的请求标题包含:type:application/json accept-charset:utf-8
有人可以帮助如何在空间上获得完全相同的字符串?
MahendraRathod
如果您用\ u0020或%20替换空间应该没关系..!