Skip to content

help request: 自定义的rest openAPI访问问题 #433

@zrunh19

Description

@zrunh19

Description

Image 接口没有使用AI和MPC,导入的接口,配置key等信息后发布如上图,这个是与#327问题一致吗? 以下是curl 日志 ---------------------------------------------------------------------------------------- curl -v -L -X GET -H "Authorization: ee46bbe7-efc2-4263-aa3a-b2e11ff1f021" -H "Content-Type: application/json" -d "request body content" http://192.168.100.196:8099/3baed460/pet/findByStatus?status=pending * Trying 192.168.100.196:8099... * Connected to 192.168.100.196 (192.168.100.196) port 8099 * using HTTP/1.x > GET /3baed460/pet/findByStatus?status=pending HTTP/1.1 > Host: 192.168.100.196:8099 > User-Agent: curl/8.13.0 > Accept: */* > Authorization: ee46bbe7-efc2-4263-aa3a-b2e11ff1f021 > Content-Type: application/json > Content-Length: 20 > * upload completely sent off: 20 bytes < HTTP/1.1 302 Found < Server: Jetty(9.2.9.v20150224) < Date: Wed, 18 Mar 2026 11:35:13 GMT < Content-Length: 0 < X-Content-Type-Options: nosniff < X-Xss-Protection: 1; mode=block < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: Thu, 01 Jan 1970 00:00:00 GMT < X-Frame-Options: DENY * Need to rewind upload for next request < Location: http://192.168.100.196/oauth/login.jsp < Set-Cookie: JSESSIONID=ipngur2ssv3dthxjkt2xsaun;Path=/ < Connection: close < * shutting down connection #0 * Clear auth, redirects to port from 8099 to 80 * Issue another request to this URL: 'http://192.168.100.196/oauth/login.jsp' * Stick to GET instead of GET * Trying 192.168.100.196:80... * connect to 192.168.100.196 port 80 from 0.0.0.0 port 61155 failed: Connection refused * Failed to connect to 192.168.100.196 port 80 after 2121 ms: Could not connect to server * closing connection #1 curl: (7) Failed to connect to 192.168.100.196 port 80 after 2121 ms: Could not connect to server

Environment

  • APIPark version:
  • Operating system (run uname -a):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions