cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Sending HTTP DELETE request from ThingWorx service

vladimir
1-Visitor

Sending HTTP DELETE request from ThingWorx service

Hi,

How do we send HTTP DELETE request from a ThingWorx service?
I see that we have content loader functions for GET, POST, PUT -- is there anything similar for HTTP DELETE?
Thank you
4 REPLIES 4
paic
12-Amethyst
(To:vladimir)

Hi Vladimir,


Are you trying to delete something from Thingworx? If so you can just use the URL method that Thingworx supports, or are you trying to send an actual DELETE to something external?



Hi Pai,

I would like to send the actual HTTP DELETE to an external system. The use case is when a client wants to unsubscribe from a subscription.




paic
12-Amethyst
(To:vladimir)

Hi Vladimir unfortunately that is not possible at this time.

We will put this into our enhancement request database.

Hi Pai and Vladimir


There's a HTTP DELETE snippet:

Resources["ContentLoaderFunctions"].Delete

Best Regards,

Carles.

Announcements


Top Tags