Skip to main content
Question

HTTP Request - Body

  • June 3, 2025
  • 0 replies
  • 417 views

Forum|alt.badge.img+1

Hey Y'all. I have a question on how the Body works in the HTTP Pipelines Channel. 

Before I begin I have everything working and set up correctly (Was able to do it in Postman and was able to do GET Requests in Pipelines) 

I cannot figure out how to insert my body in HTTP node. I have tried a lot of things to get this to work. I double checked the encoding but maybe there is another option I need to use? I think my problem lies in the to__json Jinja function (If i even need to use it) 

Any tips are appreciated!! 

This body I was able to use in Postman and it worked! 

 

Mez
Forum|alt.badge.img+7
  • Registered
  • June 4, 2025

If you change the method to "POST", the body part/property within the make request action will appear. Other methods are supported with sending a body part/property, but GET is not one of them, and most api's are not expecting a body with a get request. 


Mez
Forum|alt.badge.img+7
  • Registered
  • June 4, 2025

Looking at the api documentation, can you try to get/fetch a sub, add your id or email within the url path, not the body, and see if the remote api accepts your get request. 

Based on the data you've outlined, it looks like you're trying to create a new user or update/insert one, then using post does require the body to have an email address (you have valid json), but the remote service doesn't like it. Is this email address already a current user?

What does postman show as the response? And, if you change the error option to custom, what happens in pipelines? 

 


Maria
Forum|alt.badge.img+19
  • Community Manager
  • June 5, 2025

At office hours today, Sam suggested trying the webhook channel instead. Hopefully, you can follow up and let us know if you get different results RykerSchenck​