From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Webservices - Not able to perform HTTP DELETE request

Hi All,

 

I'm not able to perform an HTTP DELETE request from the client. I can perform Get and POST requests without any error. In the below project I would like to have the Deinitialization method as DELETE verb but when I convert the method to DELETE it's not working, the same method is working when it is GET.

 

Working:

 

Adarshbhi_0-1591868727599.png

Command: 

curl -X POST "http://localhost:8001/WEBSERVICE_NAME/Deinitialize" -H "accept: */*" -d ""

 

 

Not Working:

 

Adarshbhi_1-1591868905435.png

Command:
curl -X DELETE "http://localhost:8001/WEBSERVICE_NAME/Deinitialize" -H "accept: */*"

 

Can some help with this?

 

Thank you

0 Kudos
Message 1 of 1
(1,587 Views)