# Don't see a request sent to the localhost server

**URL:** <https://community.openai.com/t/dont-see-a-request-sent-to-the-localhost-server/262095>\
**Category:** Plugins / Actions builders\
**Tags:** plugin-development, chatgpt-plugin\
**Created:** [June 13, 2023, 7:25am UTC](https://community.openai.com/t/dont-see-a-request-sent-to-the-localhost-server/262095 "2023-06-13T07:25:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jolect\_ai](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jolect\_ai](https://community.openai.com/u/jolect_ai)\
**Post date:** [June 13, 2023, 7:25am UTC](https://community.openai.com/t/dont-see-a-request-sent-to-the-localhost-server/262095/1 "2023-06-13T07:25:46Z")

</div>

![Plugin problem](https://us1.discourse-cdn.com/openai1/original/3X/0/1/012cfa40017f60c436e722877967bb10ca7fc884.png)

as the image above shows, the interpretation of the API seems to be working fine and generating the right request body, but I don’t see a request sent to the localhost server.

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [June 13, 2023, 8:53am UTC](https://community.openai.com/t/dont-see-a-request-sent-to-the-localhost-server/262095/2 "2023-06-13T08:53:08Z")

</div>

Welcome to the forum.

Did you use `Open plugin devtools` and check the `Prompt for ChatGPT` to make sure it looks correct?

For this real example

```typescript
// Plugin to pass OpenAPI reqeust as text/plain.
namespace String_arugment_test {

// pass text
type passText = () => any;

} // namespace String_arugment_test

```

notice `type passText = ()` which creates the same problem you note,

however with this other plugin that works ([ref](https://swi-prolog.discourse.group/t/chatgpt-plugin-a-basic-example-using-swi-prolog-on-the-backend/6627))

```typescript
// Compile SWI-Prolog code and return results, success or errors.
namespace SWI_Prolog_REPL {

// Compile SWI-Prolog code
type compileCode = (_: {
// SWI-Prolog code to compile
code: string,
}) => any;

} // namespace SWI_Prolog_REPL

```

there is a property for `code`.

* * *

To access the `Open plugin devtools`

1. Open ChatGPT [https://chat.openai.com/](https://chat.openai.com/)
2. In the lower left click your user id to expand the panel.
3. Click settings
4. Enable ` Open plugin devtools`

![image](https://us1.discourse-cdn.com/openai1/original/3X/9/b/9b9e280a1583db7fafe62102ab7fa405884693b2.png)

* * *

Please do not ask me how to modify the OpenAPI specification to correct the problem, I have been stuck on that one for a day now just trying see if `text/plain` can be passed with `POST`, thus the name of the plugin with the problem `String_arugment_test`

---

<div class="post-metadata">

**Author:** ![jolect\_ai](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jolect\_ai](https://community.openai.com/u/jolect_ai)\
**Post date:** [June 13, 2023, 9:57am UTC](https://community.openai.com/t/dont-see-a-request-sent-to-the-localhost-server/262095/3 "2023-06-13T09:57:46Z")

</div>

Many thanks! We’ve managed to resolve the issue! This was attributed to some irregularities within our API documentation. Initially, we offered parameters in a choice of ‘string’ or ‘number’ formats for ChatGPT to select, but as it happens, it only accommodates one format. Upon changing our approach and exclusively employing ‘string’, the issue has been successfully addressed!

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [January 6, 2024, 9:02pm UTC](https://community.openai.com/t/dont-see-a-request-sent-to-the-localhost-server/262095/4 "2024-01-06T21:02:23Z")

</div>

Closed on January 6, 2024, 9:02pm UTC


