Public endpoint to process stroked svg
into outlined version using svg-outline-stroke
POST
https://outline-stroke.vercel.app/api/outline
input
[ required ] svg
stroked code to convert in outlines
...rest?
[ optionals ] see svg-outline-stroke params
Used this tool to url-encode
the
svg
code but you could pass regular svg
code if you use for example Postman
curl -d "input=%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cline x1='32' y1='16' x2='32' y2='48' fill='none' stroke='%23202020' stroke-miterlimit='10' stroke-width='2'/%3E%3Cline x1='48' y1='32' x2='16' y2='32' fill='none' stroke='%23202020' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E" -X POST https://outline-stroke.vercel.app/api/outline