Using PostgREST (http://postgrest.org/en/v5.2/api.html) version 5.2 against a Postgres 11 database, the following curl command:
curl -X GET http://192.18.11.13:5741/workorder?acctid=eq.SunnySide&workorderid=eq.0001
generates the following trace in the Postgres log:
SELECT "public"."workorder".* FROM "public"."workorder" WHERE "public"."workorder"."acctid" = 'SunnySide'::unknown
The "restriction" of workorderid=eq.0001 in the original query is dropped so the data returned includes all 'SunnySide' matches and not the single 0001 workorderid as desired.
What is the correct syntax of this command in curl so that workorderid is also passed to the Postgres server?