etherCorps / sveltekit-og

Generate Open Graph Images dynamically from HTML/CSS without a browser in SvelteKit
https://sveltekit-og.ethercorps.io/
207 stars 12 forks source link

Get parameters too long for +server.ts #45

Closed dalton5 closed 6 months ago

dalton5 commented 6 months ago

Hi,

My svelte component take parameters a picture to add it as background. Then I pass image as x64. But I need to push it as get parameter to +server.ts. The issue is that the parameter is too long for get request.

Then I use POST, but I do not know how to deal with og meta.

Any idea?

theetherGit commented 6 months ago

OG Meta tags uses GET so you should use get method for it. for image you can use