import BeaverdockAPI from 'beaverdock-api';const client = new BeaverdockAPI({ apiKey: process.env['BEAVERDOCK_API_API_KEY'], // This is the default and can be omitted});await client.pet.updateWithFormData(0);
pet
Updates a pet in the store with form data
POST
/
pet
/
{petId}
JavaScript
Copy
import BeaverdockAPI from 'beaverdock-api';const client = new BeaverdockAPI({ apiKey: process.env['BEAVERDOCK_API_API_KEY'], // This is the default and can be omitted});await client.pet.updateWithFormData(0);