To generate an image URL using gRPC, run the following command:
grpcurl -plaintext -d '{"base_url": "https://cached-og-sigma.vercel.app", "title": "example", "tags": ["tag1", "tag2"], "body": "example body", "color_code": "#FFFFFF"}' grapevineer-grpc.fly.dev:443 grapevineer.Grapevineer/GetOGImage
To get the flower meaning using a specific date using gRPC, run the following command:
grpcurl -plaintext -d '{"date": "1215"}' grapevineer-grpc.fly.dev:443 grapevineer.Grapevineer/GetFlowerMeaningByDate
To generate an image URL using gRPC-gateway, run the following command:
curl -v 'grapevineer-grpc-gateway.fly.dev:8080/v1/og_image?base_url=https://cached-og-sigma.vercel.app&title=example&tags=tag1&tags=tag2&body=example%20body&color_code=%23FFFFFF'
To get the flower meaning using a specific date using gRPC-gateway, run the following command:
curl -v 'grapevineer-grpc-gateway.fly.dev:8080/v1/flower_meaning/1215'