Sending a string to external API

I tried getting my custom gpt to send a string to my API endpoint.

Apparently my json for defining how the post message should look like is wrong, can someone maybe show me a configuration that works.

I really just want the model to send a simple string in the body of a post request.

My config looks like this:

“paths”: {
“/getdata”: {
“post”: {
“description”: “Send string and get data”,
“operationId”: “getdata”,
“parameters”: ,
“request Body”: [
{
“required”: true,
“content”: {
“application/json”: {
“schema”: {
“type”: “object”,
“properties”: {
“SearchData”: {
“type”: “string”,
“description”: “String to send”
}
}
}
}
}
}
],
“deprecated”: false
}
}
}