💻Plugin Kết nối WordPress
PHẦN MỀM WORDPRESS
Last updated
PHẦN MỀM WORDPRESS
Last updated
Good to know: Cấp miễn phí module phân mềm
K
The best way to interact with our API is to use one of our official libraries:
Good to know: Using tabs to separate out different languages is a great way to present technical examples or code documentation without cramming your docs with extra sections or pages per language.
To make your first request, send an authenticated request to the pets endpoint. This will create a pet
, which is nice.
POST
https://api.myapi.com/v1/pet
Creates a new pet.
Good to know: You can use the API Method block to fully document an API method. You can also sync your API blocks with an OpenAPI file or URL to auto-populate them.
Take a look at how you might call this method using our official libraries, or via curl
:
Name | Type | Description |
---|---|---|
name*
string
The name of the pet
owner_id
string
The id
of the user who owns the pet
species
string
The species of the pet
breed
string
The breed of the pet