Generate attached field (uid) on POST request

That’s because from Strapi Admin it makes a few extra requests to the /content-manager/explorer/uid/generate route to generate the slug and another request to the /content-manager/explorer/uid/check-availability to check if it’s available. You can take a look in your browser what data it exactly sends to them and use the same services

You can find these services here:

These are accessible with: strapi.plugins['content-manager'].services.uid

1 Like