简体   繁体   English

Parse.com 413请求实体太大

[英]Parse.com 413 Request Entity Too Large

I need to push large arrays to my parse.com javascript application backend. 我需要将大型数组推送到parse.com javascript应用程序后端。 Some arrays exceed 300 kb of text. 某些数组超过300 kb的文本。 For these requests I am receiving 413 Request Entity Too Large errors, which makes sense. 对于这些请求,我收到413请求实体太大错误,这是有道理的。 How do I enlarge the POST size limitation for Parse.com requests? 如何扩大Parse.com请求的POST大小限制? If I am unable to configure this the POST size, what is Parse.com's post limit so that I can efficiently split up the array into multiple submissions. 如果无法配置POST大小,那么Parse.com的发布限制是多少,以便我可以有效地将阵列拆分为多个提交。

Also is there a limitation on the size of data to get from Parse? 从Parse获取的数据大小是否也有限制? Will I need to pull back this data with multiple requests? 我是否需要通过多个请求撤回此数据? If so, how would I do this? 如果是这样,我该怎么做? Is there option on Parse.Object.get for performing a multi-stage gets? Parse.Object.get上是否有用于执行多阶段获取的选项?

Edit : I see that the limit is 128 kB. 编辑:我看到的限制是128 kB。

Cheers 干杯

The limit for a ParseObject is 128kb. ParseObject的限制为128kb。 You'll have to change how you're structuring this. 您将必须更改此结构的方式。

You can store data in another class/object and include a Pointer to that object on another object. 您可以将数据存储在另一个类/对象中,并在另一个对象上包含指向该对象的指针。 You can use the include method on a query to fetch that pointed-to object as well during a query. 您也可以在查询中使用include方法在查询期间获取指向的对象。

Take a look through the query guide, specifically this section: https://parse.com/docs/js_guide#queries-relational 查看查询指南,特别是本节: https : //parse.com/docs/js_guide#queries-relational

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM