# Set smart action httpMethod property

**URL:** <https://community.forestadmin.com/t/set-smart-action-httpmethod-property/249>\
**Category:** Help me!\
**Created:** [May 20, 2020, 6:28am UTC](https://community.forestadmin.com/t/set-smart-action-httpmethod-property/249 "2020-05-20T06:28:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![guillaumejauffret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumejauffret/32/61_2.png) [@guillaumejauffret](https://community.forestadmin.com/u/guillaumejauffret)\
**Post date:** [May 20, 2020, 6:28am UTC](https://community.forestadmin.com/t/set-smart-action-httpmethod-property/249/1 "2020-05-20T06:28:56Z")

</div>

## Expected behavior

Being able to set the httpMethod of a smart action to `DELETE`, default is `POST`, and then defining a route such as `router.delete('/actions/my-smart-action), ...`

## Actual behavior

the route of the smart action is not found by the UI

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [May 20, 2020, 9:20am UTC](https://community.forestadmin.com/t/set-smart-action-httpmethod-property/249/2 "2020-05-20T09:20:10Z")

</div>

Hello @guillaumejauffret👋

Could you share the file of your smart-action ? Did you restart your project ?  
What errors do you get in the browser console ?

---

<div class="post-metadata">

**Author:** ![guillaumejauffret](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumejauffret/32/61_2.png) [@guillaumejauffret](https://community.forestadmin.com/u/guillaumejauffret)\
**Post date:** [May 20, 2020, 1:35pm UTC](https://community.forestadmin.com/t/set-smart-action-httpmethod-property/249/3 "2020-05-20T13:35:44Z")

</div>

@anon94532230 The problem is solved on my side. Maybe I missed something yesterday.  
Thanks
