Skip to main content
Best answer

Hydrate GET result


I’m using a GET request to an api and for some reason it returns a hydrate file instead of a text/json response. In Integromat and Power automate it does not give me this result.

 

Does anyone know why this is?

 

And how can I handle this hydrate file in a proper manner and read the content in it.

Best answer by Aaron1515Best answer by Aaron1515

Could you share your code?

It should look something like

response = requests.get(‘https://www.company.com/stuff’)
json_response = response.json()

json_response should give you what you need.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • 2653 replies
  • June 15, 2022

Hey there, @bluedude! Thanks for reaching out!

Is this regarding a custom integration you’re building using the developer platform? I just want to make sure your question gets in front of the right eyes. 🙂

If it’s not, I wonder if any of these similar questions and/or resources might be useful for you?

https://community.zapier.com/code-webhooks-52/how-do-i-dehydrate-a-file-that-is-returned-from-an-api-post-8405

I’m eager to see what the Community can surface for you! Please keep us posted on your success. 


  • Author
  • Beginner
  • 1 reply
  • June 16, 2022

Hi,

 

This is not custom development but using the HTTP Module. This sample hydration is not the solution.


Aaron1515
  • New
  • 3 replies
  • Answer
  • June 16, 2022

Could you share your code?

It should look something like

response = requests.get(‘https://www.company.com/stuff’)
json_response = response.json()

json_response should give you what you need.