Best answer

URL Encoded GET Request from Zapier Platform

  • 18 November 2022
  • 1 reply

Userlevel 4
Badge +1

(Apologies if this is a repost, we attempted to post it earlier but don’t see it.)


This CURL request works successfully in Postman but it isn’t clear how to make this HTTP request from Zapier platform. Can you please provide a sample? Thanks!


curl --location --request GET '' \
--header 'Authorization: Bearer sk_live_xxxxxxxxxxxx \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Stripe-Version: 2022-11-15' \
--data-urlencode 'query=email:""'



Best answer by iansco 22 November 2022, 11:05

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 2
Badge +1

Hi @Metagrate_John4man! 👋

My understanding of CURL is that when using the --data-urlencode parameter to send data using a GET request, the data is sent via the request querystring rather than in the request body.

You can create an action using the Zapier Platform UI to send a GET request that does the same thing by adding any request parameters and values into the “URL Params” section:

Link to full-size image

Request headers and values can be entered into the “HTTP Headers” section in the same way:

Link to full-size image

Note: header values related to authentication such as API Keys would be available after you’ve setup Authentication in the app.

If you need more control over the request (or response), you can click the “Switch to Code Mode” button and write code to do that.

In case it’s useful, our “CLI” documentation has a section on “Making HTTP Requests” that shows some example code and the platform schema documentation details all the properties can be set on a request.

Please could you give this a try and let us know how things go?