Hi,
I have an openAPI config that (to the best of my knowledge specifies that the body content is to be sent as text.
snippet:
’ ```
post:
requestBody:
required: true
content:
text/plain:
schema:
type: string
despite my best effort, the action API insists on encoding the body as JSON
example API call:
{
“domain”: “xxxxxx”,
“method”: “post”,
“path”: "xxxxx,
“operation”: “executeQuery”,
“operation_hash”: “xxxxxx”,
“is_consequential”: true,
“params”: {
“response”: “search publications return year”
}
}
note that the encoding "response" is not present in the spec. It seems that the Action API makes this up... Ofcourse, the api responds that it does not recognise the "response" keywork.