Project

General

Profile

Can I pass parameters after '?' in DELETE request?

Igor Khomenko
Added over 3 years ago

I have next API url for Tigase:

DELETE /room/?admin_jid=

and example

/room/bestfirends@muc.chat.fairy.com?admin_jid=12345@chat.fairy.com

And here is my regex parameter which works (tested it here https://regex101.com)

regex = /\/room\/([^@\/]+)@([^@\/]+)[?]admin_jid=([^\/]+)/

but sometimes I get 404 or 500 status with no log

Is it possible to do it in a such way?

We use 1.1 version ob HTTP component


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Does it always respond with 404/500 for the same request? Have you added debug for the http component to monitor logs?

    (1-1/1)