# Problem with the API send Forms

**URL:** <https://discourse.getcockpit.com/t/problem-with-the-api-send-forms/456>\
**Category:** General\
**Created:** [December 14, 2018, 6:03pm UTC](https://discourse.getcockpit.com/t/problem-with-the-api-send-forms/456 "2018-12-14T18:03:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fschuermeyer](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/fschuermeyer/32/216_2.png) [@fschuermeyer](https://discourse.getcockpit.com/u/fschuermeyer)\
**Post date:** [December 14, 2018, 6:03pm UTC](https://discourse.getcockpit.com/t/problem-with-the-api-send-forms/456/1 "2018-12-14T18:03:41Z")

</div>

Hello,

i have a problem with the API to Send form i testing with the Tool [https://insomnia.rest/](https://insomnia.rest/).

Here my Solution:

 ![28](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/5222ddb1b7ce3cd79c2aa66135ec21a8e58bfb0c.png)

The Answer is “Path not Found”

The Double api in the Url is Correct Cockpit CMS is in a Subfolder Named Api.  
i try with the Admin Account Token and with the Master Key Token.

Can anyone Help me? Normal Request without Sending Datas it’s not a Problem.

Thanks for your Help

---

<div class="post-metadata">

**Author:** ![mpartipilo](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/mpartipilo/32/6_2.png) [@mpartipilo](https://discourse.getcockpit.com/u/mpartipilo)\
**Post date:** [December 16, 2018, 11:48am UTC](https://discourse.getcockpit.com/t/problem-with-the-api-send-forms/456/2 "2018-12-16T11:48:15Z")

</div>

Your payload should also be inside brackets:

```
{
  “form”: { “field”: “value” }
}
```

---

<div class="post-metadata">

**Author:** ![fschuermeyer](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/fschuermeyer/32/216_2.png) [@fschuermeyer](https://discourse.getcockpit.com/u/fschuermeyer)\
**Post date:** [December 16, 2018, 1:05pm UTC](https://discourse.getcockpit.com/t/problem-with-the-api-send-forms/456/3 "2018-12-16T13:05:21Z")

</div>

Thanks @mpartipilo now it’s Works.

Thanks 🙂
