Antonio (Eingin)
TTCTheo's Typesafe Cult
•Created by Sandip on 7/2/2024 in #questions
Can i use uploadthing with dotnet core api ???
There is no C# SDK for you to use unfortunately. However there is the OpenAPI Spec that you can use to interact with Uploadthing from your dotnet backend. You will have to handle some of the implementation details yourself this way but it should be possible.
https://docs.uploadthing.com/api-reference/openapi-spec
I would also recommend looking into the OpenAPI client generation tools so you can get up and running faster.
https://github.com/swagger-api/swagger-codegen
4 replies
TTCTheo's Typesafe Cult
•Created by 草里野兔子 on 6/19/2024 in #questions
what is YOUR_TOKEN
Also your leaking your api key in the screenshot. You should remove that
14 replies
TTCTheo's Typesafe Cult
•Created by 草里野兔子 on 6/19/2024 in #questions
what is YOUR_TOKEN
You many need to set the content type header
Content-Type: application/json
14 replies
TTCTheo's Typesafe Cult
•Created by 草里野兔子 on 6/19/2024 in #questions
what is YOUR_TOKEN
Just tested this and the
UPLOADTHING_SECRET
works for x-uploadthing-api-key
14 replies
TTCTheo's Typesafe Cult
•Created by DugeHick on 6/18/2024 in #questions
Has anyone tried using prisma just for migrations, and using drizzle for querying on Postgres DB?
Not exactly what your asking about re Prisma but at my previous company we used node-pg-migrate. We had a separate repo just for managing the SQL migrations and some Github workflows that automated the deployment when one was merged in.
This worked quite well and never had any issues with it.
https://salsita.github.io/node-pg-migrate/
5 replies