--- title: How to Enable Advance Search Parameter on FHIR Server tags: Tutorial --- # SOLVED! C# 1 Line synchronous your query! ###### tags: `C#`,`tutorial` ## Table of Contents [TOC] ## 1. POST Ex: ``` string resstring = System.Threading.Tasks.Task.Run(() => httpClient.PostAsync(Setting.FHIRurl, new StringContent(jsonStr, Encoding.UTF8, "application/json"))).Result.Content.ReadAsStringAsync().Result; ``` Return: ``` restring = "" ``` ## 1. GET ``` string resstring = System.Threading.Tasks.Task.Run(() => httpClient.PostAsync(Setting.FHIRurl, new StringContent(jsonStr, Encoding.UTF8, "application/json"))).Result.Content.ReadAsStringAsync().Result; ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up