Skip to content
HTTP Request Node: ...
 
Notifications
Clear all

HTTP Request Node: Syntax for query string parameters

3 Posts
2 Users
0 Reactions
5 Views
Valerian_Lebert
(@valerian_lebert)
Posts: 5
Active Member
Topic starter
 

Hello,

I'm attempting to perform a custom HTTP request to the Airtable API to retrieve a list of records and specify the fields returned by the API.

The Airtable API uses the following syntax:

Therefore, to limit the results to fieldid1 and fieldid2, the query should look like this:

GET https://endpoint?fields=fieldid1&fields=fieldid2

OR

GET https://endpoint?fields%5B%5D=fieldid1&fields%5B%5D=fieldid2

This means the fields query string parameter needs to be repeated for each value in the list.

I attempted to make the HTTP call using a JavaScript array and tried several other approaches, but ultimately I was unable to successfully make the HTTP call with callin.io.

digi-studio 2023-09-29 at 16.10.52

Am I overlooking something?

 
Posted : 29/09/2023 2:11 pm
Valerian_Lebert
(@valerian_lebert)
Posts: 5
Active Member
Topic starter
 

I've resolved my issue!

:slight_smile:

digi-studio 2023-09-29 at 16.14.47

 
Posted : 29/09/2023 2:15 pm
system
(@system)
Posts: 332
Reputable Member
 

This discussion was automatically closed 7 days following the last response. New replies are no longer permitted.

 
Posted : 06/10/2023 2:16 pm
Share: