I’m trying to receive a list or dictionary using request[“data”] in doGet() python resource but not sure how to send data to the resource
GET requests do not (cannot) have a body; you need to use URL parameters (and thus, request["params"]
) to pass data to a GET endpoint.
Query parameters go into the URL directly; start query params with a ?
, separate them with &
and, if necessary, URL-encode any non-basic-ASCII values:
system/webdev/test/asdf?param=1¶m2=2¶m=2
1 Like
can POST request have a body?
how can we use request[“data”]?