POST
/
codenull
/
ai
/
api
/
v1
/
optimize-seo
{
  "optContent": [
    {
      "tagname": "<string>",
      "content": "<string>"
    }
  ]
}

Example Usage

For complete API documentation and examples, please refer to your Swagger UI.

curl -X 'POST' \
  'https://localhost:8080/codenull/ai/api/v1/optimize-seo' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "context": "Website about healthcare services",
  "originalContent": [
    {
      "tagname": "h1",
      "content": "Welcome to our services"
    },
    {
      "tagname": "p",
      "content": "We offer various medical treatments for patients."
    },
    {
      "tagname": "h2",
      "content": "Our treatments"
    }
  ]
}'

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.