3 ms·
And also what if you have a huge nested query which is only reading the database but is difficult to pack into URL parmeters (too long for example and you hit a
by jstx1 3y ago
And also what if you have a huge nested query which is only reading the database but is difficult to pack into URL parmeters (too long for example and you hit a character limit)? POST with a json body instead of GET even though it's against RESTful principles?
- robertlagrant 3y agoThis is one acceptable workaround. Generally having caching at this point is unnecessary, and it's probably a good idea or developers to pay special attention if doing this. If you have a longer-running query you could alternatively construct a Query resource of some sort and then GET it until it's ready.