module httpRequestTestopen System.Net.Httpopen System.IOopen System.Texttask { use client = new HttpClient() client.DefaultRequestHeaders.Accept.Clear() client.DefaultRequestHeaders.Add("apiKey", "< YOURTOKEN >") use bodyContent = new StringContent("{\"options\": { \"method\": \"GET\",\"headers\": {\"Content-Type\": \"application/json\",\"Accept\": \"application/json\"}}, \"url\": \"/rest/api/3/issue/DEV-16\"}", System.Text.Encoding.UTF8, "application/json") let! response = let url = new System.Uri("< YOURTRIGGERURL >") client.PostAsync(url, bodyContent) let! jiraResponse = response.Content.ReadAsStringAsync() printfn $"jira response: {jiraResponse}"}|> Async.AwaitTask|> Async.RunSynchronously