in reply to Complex filter queries in a REST API
it's been a while since I quit using GET params for anything complex. I now usually POST a JSON string.
So, why force a complex DB query into a GET params string when you can send your query as a JSON string to be converted to a Perl data structure and then directly imported into SQL::Abstract. There exists SQL::Abstract::FromQuery for even simpler data format.
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Complex filter queries in a REST API
by hippo (Archbishop) on Mar 25, 2021 at 12:23 UTC | |
by bliako (Abbot) on Mar 25, 2021 at 15:08 UTC | |
by martell (Hermit) on Mar 26, 2021 at 11:29 UTC | |
by bliako (Abbot) on Mar 26, 2021 at 15:52 UTC | |
by Anonymous Monk on Mar 25, 2021 at 14:10 UTC |