Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Highlighted
Partner
Partner

REST connection: methods PATCH, PUT and DELETE

Hi everyone,

I need to use a PATCH, PUT and DELETE methods in a REST connection but when I create it I only have two options: "GET" and "POST"

PreguntaREST.png

 It's possible use those others methods? And what's the correct way of use them? Can someone give an example?

Thanks,

Katherine.

Labels (5)
3 Replies
Partner
Partner

Re: REST connection: methods PATCH, PUT and DELETE

Hey Katherine,

I found a workarround for the method delete:
1) Create a new connection with your necessary options and Method = Get
2) Let Qlik Build your REST Connection automatically and replace fields and/or settings within the script
3) Go to Data Connections within the QMC and edit the new data connection
4) Replace method=GET with method=DELETE within the field connection string
5) Save your changes and reload the script editor

--> Now you should be able to delete via Qlik and the REST-Connector 🙂

Unfortuantly I haven't found any Qlik intern solution for methods PATCH or PUT.
Have you found a solution for these methods?

Cheers
Paul

Partner
Partner

Re: REST connection: methods PATCH, PUT and DELETE

Hi Paul,
Thanks for your answer.

I can't found any solution for methods PATCH and PUT yet.

If I find something I'll gladly share it with you.

Cheers.
madhuparnadhar
New Contributor III

Re: REST connection: methods PATCH, PUT and DELETE

Hi @paulriedel & @katherine_flore ,

I need to use method DELETE in Qlik Sense REST API connection. I created a POST connection and edited it from QMC with method DELETE. But when I run the script, it is adding rows instead of removing them. Could you guys please help me in figuring out what I am doing wrong here ?

Thanks in advance!

Kind Regards,

Madhuparna Dhar