grex icon indicating copy to clipboard operation
grex copied to clipboard

Limit on the size of script is around 8K

Open FarzadT opened this issue 10 years ago • 5 comments

Might want to switch to POST instead of GET. You cannot send over a script of more than 8K length since URL max length is set to 8k

FarzadT avatar Aug 29 '14 15:08 FarzadT

Thanks, will fix this. Did you catch this when sending many bound parameters?

jbmusso avatar Aug 29 '14 15:08 jbmusso

I believe so. I built a pretty complex script that had many operations in 1 query

FarzadT avatar Aug 29 '14 15:08 FarzadT

For some reasons I'm unable to attach any bindings to Rexster when using POST. I'll have to investigate.

In the meanwhile, feel free to open a pull request if you manage to do something.

jbmusso avatar Aug 31 '14 15:08 jbmusso

Have you looked at this? https://github.com/tinkerpop/rexster/wiki/Gremlin-Extension#script-engine-bindings

FarzadT avatar Sep 01 '14 18:09 FarzadT

Yes, but I believe my POST request may be malformed. I tried with Node.js http module as well as mikeal's request with no success. I may have missed something really obvious or it could be related to Rexster.

Unfortunately I won't have much time to look at this in the next few days. If you manage to get something working, I'll be happy to review and merge :).

jbmusso avatar Sep 01 '14 19:09 jbmusso