I am trying to implement actions from gpt Builider, the Get actions work correctly, however the post actions do not recognize the EndPoint.
In tests using the cmd console in windows if both the get and post actions work, but from YamL, it tells me that the EndPoint has not been found.
What I need to do is to update the field from a json file called name, I repeat the get if it works to retrieve that name.
openapi: 3.0.3
info:
title: Actualizar Nombre de Usuario
version: 1.0.0
servers:
- url: https://api.*****.ia
description: Servidor de OpenAI
paths:
/api.php/?getUserName:
get:
summary: Obtener el nombre de usuario
operationId: getUserName
responses:
'200':
description: Nombre de usuario obtenido correctamente
content:
application/json:
schema:
type: object
properties:
Nombre:
type: string
example: John
/api.php/?setUserName:
post:
summary: Cambiar el nombre de usuario
operationId: setUserName
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
Nombre:
type: string
description: El nuevo nombre de usuario a asignar
example: NuevoNombrePorDefecto
responses:
'200':
description: Nombre de usuario actualizado correctamente
I appreciate the help on this.