Pergunta Davidson Espindola · Fev. 1, 2024

delete via api

Good evening, Masters

I communicate with an API, using the %Net.HttpRequest class, I can include, query and change information, but I cannot delete it

%Net.HttpRequest does not have DELETE (as it has Get,Put,Post)
<METHOD DOES NOT EXIST> *Delete,%Net.HttpRequest

What is another way to do this exclusion?

Grateful
davidson

Product version: Caché 2018.1
$ZV: Cache for Windows (x86-64) 2018.1.7 (Build 721) Fri Mar 18 2022 22:24:36 EDT

Comments

Rodolfo Moreira dos Santos · Fev. 2, 2024

Hi Davidson, I hope you are well

The %Net.HttpRequest class has the Send method. Using this method you can select the action.

All the methods you mentioned use the Send method internally.

0
Davidson Espindola  Fev. 5, 2024 to Rodolfo Moreira dos Santos

good morning, Rodolfo

Thank you very much, I managed to solve the problem.
Gratitude.

hug

0