elrumordelaluz / svgsprit.es

Public endpoint to generate SVG Sprites using svg-spreact

Home Page:https://svgsprit.es

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Public endpoint doesn't work

kyleshepherd opened this issue · comments

I'm trying to test the public endpoint using Postman and it's only returning the HTML of the https://svgsprit.es/api page.

I'm setting the body as a raw object with the following values:

{
    "input": [
        "<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48" fill="currentColor"><path d="M8 42V18L24 6l16 12v24H28V28h-8v14Z"/></svg>",
    ] 
}

Any help is greatly appreciated!

nvm hadn't set headers 🤦🏻