Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How do I upload in-memory files via the the local API?

default discord avatar
mosattler2 years ago
4

I want to upload a buffer via the local API. But I cannot find anything regarding that in the docs. can someone point me into the right direction?



How do I upload in-memory files via the the local API?



nevermind, found it in the docs!

  • default discord avatar
    simka0997last year
    @814899246540914698

    can you provide a link to the docs where you found the solution? 🙂

  • default discord avatar
    mosattlerlast year

    Unfortunately i dont remmeber! havent used payload in a while

  • default discord avatar
    weetikveelmanlast year

    I am assuming it was this section

    https://payloadcms.com/docs/upload/overview#uploading-files

    Doesn't say very much about the local api though 😦 but at least it says it should be supported



    I think with some trial-and-error it should be doable

  • default discord avatar
    simka0997last year
    @205004041934209026

    yeah I found that, but it really doesn't say that much. Thanks 🙏


    @814899246540914698

    thanks anyway 🙂

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.