user-1
(User 1)
August 6, 2021, 10:14pm
1
This topic was automatically generated from Slack. You can find the original thread here .
Sarath Kallakuri : Is there a free way of taking a screenshot of a webpage using pipedream?
I wanted to do-
Telegram message with the URL
Pipedream somehow taking a screenshot
Response body is sent somewhere using webhook
Please share your thoughts
user-2
(User 2)
August 6, 2021, 10:14pm
2
Dylan Sather (Pipedream) : Browserless is a good (paid) service to do that. Take a look at https://github.com/PipedreamHQ/pipedream/issues/209 for a few examples and suggestions
user-1
(User 1)
August 6, 2021, 10:14pm
3
Sarath Kallakuri : Yeah, also saw a API flash that allows 100 free per month.
Apiflash.com
user-3
(User 3)
August 6, 2021, 10:14pm
4
Tod Sacerdoti : First version of ApiFlash integration - ApiFlash API Integrations - Pipedream
user-1
(User 1)
August 6, 2021, 10:14pm
5
Sarath Kallakuri : I’m not sure where I’m going wrong, but after making a successful GET request from that API, how do I properly make a PUT request containing the image body from the GET?
I was uploading to nextcloud and images are corrupt but they do have some file size.
user-2
(User 2)
August 6, 2021, 10:14pm
6
Dylan Sather (Pipedream) : Try referencing {{steps.get_request.$return_value}}
as the value of the Body param and let me know if that works
user-1
(User 1)
August 6, 2021, 10:14pm
7
Sarath Kallakuri : That’s what I did and I get corrupt images
user-2
(User 2)
August 6, 2021, 10:14pm
8
Dylan Sather (Pipedream) : Can you click the Share button in the top-right of your workflow and share it with dylan@pipedream.com ?
user-1
(User 1)
August 6, 2021, 10:14pm
9
Sarath Kallakuri : I was wondering if I’m supposed to encode it somewhere. Added you in the workflow
user-2
(User 2)
August 6, 2021, 10:14pm
10
Dylan Sather (Pipedream) : I see you just made a change that appears to have worked?
user-2
(User 2)
August 6, 2021, 10:14pm
11
Dylan Sather (Pipedream) : I believe there may be a bug that was affecting you before when you added the HTTP header. I’m looking into that.
user-1
(User 1)
August 6, 2021, 10:14pm
12
Sarath Kallakuri : No, I made that change so you could see it. Even though it triggered fine, I actually still get corrupt images.
user-1
(User 1)
August 6, 2021, 10:14pm
13
Sarath Kallakuri : Is it possible to save the GET body within pipedream to view it? Possibly something could be wrong with Nextcloud PUT API
user-2
(User 2)
August 6, 2021, 10:14pm
14
Dylan Sather (Pipedream) : you should be able to hover over the content of the binary value in the get_request
step and press the Copy Value button that appears, which will copy it to your clipboard so you can save it locally. You can also save it to a file in /tmp
and upload that file somewhere else (like Amazon S3, Google Drive, Dropbox) and examine the file from there.
user-1
(User 1)
August 6, 2021, 10:14pm
15
Sarath Kallakuri : Ok, will try it. Thanks