1. baseUrl test
Pet Store
  • Store API
    • Welcome to Apifox
    • gRPC API
    • import
      • pet
        • uploads an image
        • Add a new pet to the store
        • Update an existing pet
        • Finds Pets by status
        • Finds Pets by tags
        • Find pet by ID
        • Updates a pet in the store with form data
        • Deletes a pet
      • store
        • Returns pet inventories by status
        • Place an order for a pet
        • Find purchase order by ID
        • Delete purchase order by ID
      • user
        • Creates list of users with given input array
        • Get user by user name
        • Updated user
        • Delete user
        • Logs user into the system
        • Logs out current logged in user session
        • Creates list of users with given input array
        • Create user
    • 数据模型
      • Schemas
        • pet别名
        • User
        • Category
        • Order
        • ApiResponse
        • Tag
      • RequestBodies
        • UserArray
  • Admin API
    • Pet
      • BodyType
        • body is none
        • body is form-data
        • body is x-www-form-urlencoded
        • body is raw-RealAPI
        • body is raw-js
        • body is raw-json,RealAPI
        • body is raw/html
        • body is raw-xml,RealAPI
        • body is binary-RealAPI
      • AllMethod
        • get
        • post
        • put
        • patch
        • delete
        • head
        • options
        • Custom Types Trace(fox has this type)
        • Custom Types SELFDEFINED
        • Custom Types SELFDEFINED
      • All parameters test
        • 🦄 Request parameter's & pre-and-post Script's Full Verification
        • endpoint without Example
      • baseUrl test
        • 1-begin with {{baseUrl}}
          POST
        • 2-begin with http://baseurl.com
          POST
        • 3-begin with {{baseurl3}}
          POST
        • 4-begin with http://{{baseurl4}}
          POST
        • 5-begin with http://192.168.10.207
          POST
        • 6-begin with192.168.10.207:80
          POST
        • 7-begin with localhost
          POST
      • Duplicate Endpoint Test
        • endpoint1
        • endpoint2/1
        • endpoint2/2
        • endpoint2/3 ,without example
      • Folder’s documentation
        • Folder without documentation
        • Folder with documentation
          • Folder with documentation_multipleFolder
      • AuthTest
        • F1_Auth=inherite
          • FInherite/E1/Inherite
          • FInherite/E2/NoAuth
          • FInherite/E3/BasicAuth
          • FInherite/E4/Beartoken
          • FInherite/E5/JWTBear
          • FInherite/E6/Digest
          • FInherite/E7/Oauth1
          • FInherite/E8/Oauth2
          • FInherite/E9/HAWK
          • FInherite/E10/NTLM
          • FInherite/E11/APIKEY
          • FInherite/E12/AKAMAI
          • FInherite/E13/ASAP
        • F2_Auth=BasicAuth
          • FBasicAuth/EndpointInherite
          • FBasicAuth/EndpointNoAuth
          • FBasicAuth/EndpointBeartoken
      • pet
      • Payments
      • store
      • user
      • Batch Create Pets
        POST
      • Batch Delete Pets
        DELETE
    • Audit
      • BodyType
      • AllMethod
        • Custom Types SELFDEFINED
      • All parameters test
      • baseUrl test
      • Duplicate Endpoint Test
      • Folder’s documentation
        • Folder without documentation
        • Folder with documentation
          • Folder with documentation_multipleFolder
      • AuthTest
        • F1_Auth=inherite
        • F2_Auth=BasicAuth
      • pet
      • Payments
      • store
      • user
      • Query Audit Logs
    • F3
      • pet
        • Get Pet
        • Update Pet
        • Delete Pet
        • Create Pet
        • List Pets
        • Upload Pet Image
      • Payments
        • Pay Order
      • store
        • List Inventory
        • Create Order
        • Get Order
        • Delete Order
        • Callback Example
      • user
        • Create User
        • Update User
        • Get User
        • Delete User
        • Login
        • Logout
      • GraphQL Example
      • SSE Example
      • SOAP Example
    • 数据模型
      • Pet
      • User
      • OrderPayment
      • Category
      • Links-Order
      • Order
      • ApiResponse
      • Tag
  • User1114
    • pet
      • uploads an image
      • Add a new pet to the store
      • Update an existing pet
      • Finds Pets by status
      • Finds Pets by tags
      • Find pet by ID
      • Updates a pet in the store with form data
      • Deletes a pet
    • store
      • Returns pet inventories by status
      • Place an order for a pet
      • Find purchase order by ID
      • Delete purchase order by ID
    • user
      • Creates list of users with given input array
      • Get user by user name
      • Updated user
      • Delete user
      • Logs user into the system
      • Logs out current logged in user session
      • Creates list of users with given input array
      • Create user
    • 数据模型
      • Schemas
        • ApiResponse
        • Category
        • Pet
        • Tag
        • Order
        • User
      • RequestBodies
        • UserArray
  • import
    • apiA
    • apiB
    • apiC
    • 数据模型
      • schemasC
      • schemasB
      • schemasA
  1. baseUrl test

6-begin with192.168.10.207:80

POST
/baseurlTest/6

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/baseurlTest/6' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{}
修改于 2025-11-15 04:26:43
上一页
5-begin with http://192.168.10.207
下一页
7-begin with localhost
Built with