I would like to understand what the “G” stands for and how it can be represented in the DATA resource API.
I understand H is in the header.
But how can I represent the G as well the urlencoded part?
Any help will be greatly appreciated
I understand H is in the header.
But how can I represent the G as well the urlencoded part?
Any help will be greatly appreciated
The -G
flag in Curl stands for --get
which is used when you need to send a GET
request with data, which is usually done via POST
. So it’s a way to overwrite the usual expectation of sending data via POST and forcing a GET request (Read more here)
With that, there are several ways to do this:
The first approach is easier and probably better. Note that the “data” you need to pass needs to be URL encoded via a Formula before sending.