thanks but this not work, correct me if i am done wrong http request

here screenshots curl and insomnia

чт, 6 февр. 2025 г. в 10:34, Tran Tung <vtt...@linagora.com>:

> Hi,
>
> Bellow is syntax sample, that I extract from source code:
>
> (1)
>
> Request method:    POST
> Request URI:
> http://localhost:61390/users/jessy.jones%40domain.tld?action=deleteData
> Proxy:            <none>
> Request params:    <none>
> Query params:    action=deleteData
> Form params:    <none>
> Path params:    <none>
> Headers:        Accept=application/json, application/javascript,
> text/javascript, text/json
>                  Content-Type=application/json; charset=UTF-8
> Cookies:        <none>
> Multiparts:        <none>
> Body:            <none>
>
>
> (2)
>
> Request method:    POST
> Request URI: http://localhost:61496/domains/localhost?action=deleteData
> Proxy:            <none>
> Request params:    <none>
> Query params:    action=deleteData
> Form params:    <none>
> Path params:    <none>
> Headers:        Accept=application/json, application/javascript,
> text/javascript, text/json
>                  Content-Type=application/json; charset=UTF-8
> Cookies:        <none>
> Multiparts:        <none>
> Body:            <none>
>
>
> Cheers,
>
>
> On 2/6/25 10:25 AM, Ilya Terskov wrote:
> > Hi guys once more!
> > Can u tell me about how actual this info?
> >
> https://james.apache.org/server/manage-webadmin.html#Administrating_users
> > especially this one
> >
> > curl -XPOST http://ip:port/users/usernameToBeUsed?action=deleteData
> >
> > and
> >
> > curl -XPOST http://ip:port/domains/{domainToBeUsed}?action=deleteData
> >
> >
> > Both commands return error
> >
> > i tried with curl and insomnia
> >
> > where i can find most actual info about http request syntax?
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to