I have an app where user can upload an svg file. I'm trying to extact the path d information from the uploaded file and save it to my database.
I understand I can inspect element on the svg file and see the path d info, but how can I extract that dynamically?
Ideally I wanna just do an API call where I upload a svg file and it returns path information or something like that, but I can't find anything..
Tried looking up answers in google and stackoverflow but couldnt find how to extract it dynamically, i only found how to find it manually via inspect element