使用Drupal8RESTAPI上传文件,但在Postman中获取边界错误

使用Drupal8RESTAPI上传文件,但在Postman中获取边界错误,rest,file-upload,drupal,drupal-8,Rest,File Upload,Drupal,Drupal 8,您能告诉我如何从Drupal Rest API上传任何类型的文件吗?我使用OAuth2进行授权,但在从邮递员上传文件时出现边界错误。 需要帮忙吗 《邮递员》中的以下错误 { "message": "No route found that matches \"Content-Type: multipart/form-data; boundary=--------------------------845557214163009053020500\"" } 对我来说,清除缓存可以消除错误。

您能告诉我如何从Drupal Rest API上传任何类型的文件吗?我使用OAuth2进行授权,但在从邮递员上传文件时出现边界错误。 需要帮忙吗

《邮递员》中的以下错误

{
    "message": "No route found that matches \"Content-Type: multipart/form-data; boundary=--------------------------845557214163009053020500\""
}

对我来说,清除缓存可以消除错误。对我来说,清除缓存可以消除错误。