Trim
2 min
Cleans the text of all leading and trailing spaces
API Definition
Trim API
Call the following API to trim the response received
POST
https://orca.pathfix.com/functions/text/trim
json
{
"input": " lorem ipsum dolor "
}200
{
"output": "lorem ipsum dolor"
}404
{
"message": "error"
}
Remarks
Clean up responses received from previous or current API calls.