# Method not allowed while login from rest api

**URL:** <https://discuss.tryton.org/t/method-not-allowed-while-login-from-rest-api/3073>\
**Category:** Developer\
**Created:** [July 28, 2020, 7:33am UTC](https://discuss.tryton.org/t/method-not-allowed-while-login-from-rest-api/3073 "2020-07-28T07:33:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deathrake](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@deathrake](https://discuss.tryton.org/u/deathrake)\
**Post date:** [July 28, 2020, 7:33am UTC](https://discuss.tryton.org/t/method-not-allowed-while-login-from-rest-api/3073/1 "2020-07-28T07:33:33Z")

</div>

Hello Experts

I am trying to login via rest api . i could get the session id from ARC client in response but when i try to do the same using my Ionic app i get the 405 method not allowed am i doing some thing wrong ?

This is my error

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/1/14641ef31a49e7205faaaae19e188db8f425369d.png)

Regards,  
Saif

---

<div class="post-metadata">

**Author:** ![deathrake](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@deathrake](https://discuss.tryton.org/u/deathrake)\
**Post date:** [July 28, 2020, 7:38am UTC](https://discuss.tryton.org/t/method-not-allowed-while-login-from-rest-api/3073/2 "2020-07-28T07:38:02Z")

</div>

> [@deathrake](#):
>
> I am trying to login via rest api . i could get the session id from ARC client in response but when i try to do the same using my Ionic app i get the 405 method not allowed am i doing some thing wrong ?

Sorry My Mistake i forgot to change get to post

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [August 27, 2020, 7:38am UTC](https://discuss.tryton.org/t/method-not-allowed-while-login-from-rest-api/3073/3 "2020-08-27T07:38:04Z")

</div>

Closed on August 27, 2020, 7:38am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
