# HTTP Curl response from TinyPNG, how to set query string "--silent --output thumbnail.jpg"

**URL:** <https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630>\
**Category:** Questions\
**Tags:** json\
**Created:** [May 8, 2024, 11:31am UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630 "2024-05-08T11:31:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darren\_Teoh](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Darren\_Teoh](https://community.make.com/u/Darren_Teoh)\
**Post date:** [May 8, 2024, 11:31am UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/1 "2024-05-08T11:31:19Z")

</div>

Hi Make Experts,

Need help on HTTP module. I not able to set query string “–silent --output thumbnail.jpg” in my HTTP module. Attached blueprint.  
[blueprint.json](https://community.make.com/uploads/short-url/9joYTjCv0IaPRIoeYGafmZ8og6u.json) (20.8 KB)

curl [https://api.tinify.com/output/xs2bes](https://api.tinify.com/output/xs2bes) --header “Content-Type: application/json” --data ‘{ “resize”: { “method”: “fit”, “width”: 255, “height”: 340 }}’ --silent --output thumbnail.jpg

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [May 8, 2024, 12:13pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/2 "2024-05-08T12:13:58Z")

</div>

`–silent` and `–output` are [cURL](https://curl.se/) (software) options, they are not really supported by the [HTTP](https://www.make.com/en/integrations/http) module, which does not use cURL.

You need to find the external service’s API documentation for HTTP, not cURL.

You can also try using the HTTP “Get a file” module with the value of the “Location” header from the previous step.

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the unofficial [Make Discord server](https://samliew.com/make-discord-invite) to chat with other makers!

---

<div class="post-metadata">

**Author:** ![Darren\_Teoh](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Darren\_Teoh](https://community.make.com/u/Darren_Teoh)\
**Post date:** [May 8, 2024, 12:28pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/3 "2024-05-08T12:28:41Z")

</div>

I see. Thank you, Sam for your prompt response.

Could I know if any MAKE module support this CURL command?

curl [https://api.tinify.com/output/xs2bes](https://api.tinify.com/output/xs2bes) --user api:D9mgbCG --header “Content-Type: application/json” --data ‘{ “resize”: { “method”: “fit”, “width”: 255, “height”: 340 }}’ --dump-header /dev/stdout\_th/dumpfile --silent --output thumbnail.jpg

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [May 8, 2024, 12:38pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/4 "2024-05-08T12:38:26Z")

</div>

You don’t even need an API key for the downloading of the file as the URL is public.

Just use the HTTP “Get a file” module like I mentioned.

 ![Screenshot_2024-05-08_200525](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/0/b090091c365cfb8cee5f1da2fa9b44f0690720c0.png)

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the unofficial [Make Discord server](https://samliew.com/make-discord-invite) to chat with other makers!

---

<div class="post-metadata">

**Author:** ![Darren\_Teoh](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Darren\_Teoh](https://community.make.com/u/Darren_Teoh)\
**Post date:** [May 8, 2024, 12:50pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/5 "2024-05-08T12:50:25Z")

</div>

Hi Sam,

The URL is image file upload to TinyPNG, I will need to do compression and resize with that image. Then using CURL coomand to get --output optimzied.jpg. If no output file specificed, it will return bitmap.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/c/dcbbafe4704fc11bb84d43da418811dc97950df1.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [May 8, 2024, 1:08pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/6 "2024-05-08T13:08:48Z")

</div>

If it’s a binary then it’s already a downloaded file.

You can upload it somewhere like Google Drive.

 ![Screenshot_2024-05-08_210555](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/7/576d847805fb5cb7d64cd85177f14e8f36fe6f7c.png)

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the unofficial [Make Discord server](https://samliew.com/make-discord-invite) to chat with other makers!

---

<div class="post-metadata">

**Author:** ![Darren\_Teoh](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Darren\_Teoh](https://community.make.com/u/Darren_Teoh)\
**Post date:** [May 8, 2024, 1:19pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/7 "2024-05-08T13:19:04Z")

</div>

Thanks again, Sam.

I need to upload to Glide Table. Let me try, will post result here.

---

<div class="post-metadata">

**Author:** ![Darren\_Teoh](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Darren\_Teoh](https://community.make.com/u/Darren_Teoh)\
**Post date:** [May 8, 2024, 1:21pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/8 "2024-05-08T13:21:22Z")

</div>

Glide table see it as binary… need another converter?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/b/cb1947769d1238ca318c8f35e816969346fab210.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [May 8, 2024, 1:29pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/9 "2024-05-08T13:29:59Z")

</div>

Sorry, I’ve never used Glide before. You might need to start a new question about Glide.

---

<div class="post-metadata">

**Author:** ![Darren\_Teoh](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@Darren\_Teoh](https://community.make.com/u/Darren_Teoh)\
**Post date:** [May 8, 2024, 1:31pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/10 "2024-05-08T13:31:26Z")

</div>

Sure, no prob. Will keep trying. Thank you for your good support, Sam. 😀

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [August 6, 2024, 1:39pm UTC](https://community.make.com/t/http-curl-response-from-tinypng-how-to-set-query-string-silent-output-thumbnail-jpg/36630/11 "2024-08-06T13:39:18Z")

</div>


