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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Sending HTTP DELETE request from ThingWorx service

vladimir
1-Newbie

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
1-Newbie
(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
1-Newbie
(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.

Top Tags