This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View | |
style={{ | |
flexDirection: 'row', | |
flexWrap: 'wrap', | |
alignItems: 'flex-start', | |
flex: 1, | |
}} | |
> | |
[<Text/>,<Tag />...] | |
</View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using Dapper; | |
using System.Data.SqlClient; | |
using System.Configuration; | |
using System.Net.Http.Headers; | |
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) | |
{ | |
log.Info($"C# HTTP trigger function processed a request. RequestUri={req.RequestUri}"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using Dapper; | |
using System.Data.SqlClient; | |
using System.Configuration; | |
using System.Net.Http.Headers; | |
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) | |
{ | |
log.Info($"C# HTTP trigger function processed a request. RequestUri={req.RequestUri}"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UploadAttachmentsEndpoint uses httprouter package.. | |
func UploadAttachmentsEndpoint(res http.ResponseWriter, req *http.Request, _ httprouter.Params) { | |
// init your client | |
//... | |
// init your bucket | |
storageBucket := client.Bucket(storageBucketName) | |
w := storageBucket.Object(name).NewWriter(ctx) | |
w.ContentType = req.Header.Get("Content-Type") | |