03-05-2023 07:38 AM
Hi All,
I am exploring the HTTP Client snap, I wanted to know what is difference between HTTP Client and Rest API methods (get,post…) snaps.
Can any one please help to know about the below highlighted Entity Type in the snip.
and also can we get the output as xml from the HTTP Client snap ? if yes, how?
Thanks in advance
@dmiller can you please help me
03-06-2023 04:32 PM
I’m asking around for someone with more knowledge of the HTTP Snaps to assist you.
03-06-2023 04:49 PM
Hi there, the biggest difference you’ll see is more capability in debugging your outputs and views in the HTTP Client snap, we mostly see it as a replacement for the REST Post/Get/etc snaps and will likely set those for deprecation once a few more things are added to the HTTP Client snap. The HTTP Entity (which you’ve highlighted) is the body content that you plan to send to the endpoint, this supports multipart
and form data with multipart (which we previously supported in the REST snap pack), but now also supports x-www-form-urlencoded
data as well as raw
and binary
data being send to the endpoint. When you select the entity type, you’ll see the UI dynamically change to show the inputs for those entity types, but that’s more likely to be useful in the REST Post/Put/Patch than Get.
Much of this has been pulled from the enhancements we’ve previously made to the REST Snap pack, but the goal with HTTP Client is to have it all in a single snap. We’ve also updated the accounts (yes, you’ll have to re-set them up) to better align with what we see as the most common accounts and make that process easier to use (including a generic Headers account for any headers that you wish to use for authorization).
03-06-2023 04:57 PM
Product Management also says this is helpful to reference
03-06-2023 08:41 PM
Thank you for response @dmiller @ddellsperger