Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
[C# JSON] How do I get in
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CosmoPeak" data-source="post: 466059" data-attributes="member: 68352"><p>You need to perform a HTTP request to get the response from that URL</p><p></p><p>You can see an example here getting a response as a string using HttpClient: <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0#examples" target="_blank">https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0#examples</a></p><p></p><p>You would then use your JSON deserialiser, passing in the string response body from your HTTP request as the input, similar to what you have done above.</p></blockquote><p></p>
[QUOTE="CosmoPeak, post: 466059, member: 68352"] You need to perform a HTTP request to get the response from that URL You can see an example here getting a response as a string using HttpClient: [URL]https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0#examples[/URL] You would then use your JSON deserialiser, passing in the string response body from your HTTP request as the input, similar to what you have done above. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
[C# JSON] How do I get in
Top