Hi!
I’m trying to upload a .svg through the API, but whenever I made the request, I get an error 413 “Request entity too large”.
I uploaded the same .svg trough the dashboard and it worked fine.
The API request works fine the PNG images larger than that.
I think it might be because I pass the .svg directly to Cloudflare trough a string (`<?xml version="1.0" encoding="utf-8"?>
How can I fix that?
Couldn’t find the edit button, seems like example didn’t made it trough:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="551" height="617" viewBox="0 0 551 617" preserveAspectRatio="xMidYMid meet">
<g fill="#000000"> etc...
Hi, can you clarify what you mean by “pass through a string”?
system
Closed
4
This topic was automatically closed after 15 days. New replies are no longer allowed.