I would like to know how to configure the API block to connect to the very popular ChatGPT.
In the first place, does API Block support connection of external API blocks that require authentication?
Any information would be very helpful. Thank you very much.
{
“error”: {
“message”: “You didn’t provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you’re accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://beta.openai.com.”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
},
“VF_STATUS_CODE”: 401,
“VF_HEADERS”: {
“connection”: “close”,
“content-length”: “475”,
“content-type”: “application/json; charset=utf-8”,
“date”: “Sun, 11 Dec 2022 21:26:34 GMT”,
“strict-transport-security”: “max-age=15724800; includeSubDomains”,
“vary”: “Origin”,
“x-request-id”: “a3ca2d3432a5b1b188a9527ac093e8d5”
}
}