Skip to content

为什么curl 访问一直返回{"base_resp":{"status_code":2049,"status_msg":"invalid api key"}} #18

@Zelin-Zhu

Description

@Zelin-Zhu

采用的格式是
curl --location "https://api.minimax.chat/v1/text/chatcompletion"
--header "Content-Type: application/json"
--header "Authorization: Bearer personal-api-KEY"
--header "GroupId: " group-id
--data "{"model":"abab6.5-chat","messages":[{"sender_type":"USER","sender_name":"用户","text":"你好"}]}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions