Best answer

Can I POST an action in xml format?


Userlevel 1

The app I’m trying to integrate only accepts posts in xml format. Can be done?  

icon

Best answer by ikbelkirasan 4 May 2020, 02:04

View original

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

Userlevel 7
Badge +12

@Marcel Khouri - Yes that’s possible with webhooks. Just set the payload type to XML.

 

Userlevel 1

@ikbelkirasan thanks, it’s a solution.

And can I do this when creating an action for my own private integration in the Platform UI? To make it more reusable

 

Userlevel 7
Badge +12

@Marcel Khouri - You would need a library to convert an object to XML but the Platform UI doesn’t provide access to npm packages, so that’s not an option. However, with a CLI app you can definitely accomplish that.