0
我真的很喜欢Restler3,但现在出现了问题。 我想POST一个ZIP文件到服务器。只需通过一个简单的HTML表单。 要启用上传,如果要加Restler3-POST上传(zip)文件
$restler->setSupportedFormats('UploadFormat');
但如果这样做,所有的JSON-GET-的要求是不会工作。
Fatal error: Uncaught exception 'Luracast\Restler\RestException' with message 'UploadFormat is read only…
这是错误信息。我应该怎么做才能解决这个问题?