PostAsync(T object)
See original GitHub issueI followed the tutorials and noticed that in the latest version of this library (3.0.3) on Nuget, PostAsync
only allows for a string payload, what is the workaround for this, do we have to convert the strongly typed object to a string first or is this is a mistake?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top Results From Across the Web
How do I pass an object to HttpClient.PostAsync and ...
So, while you can pass an object to PostAsync it must be of type HttpContent and your anonymous type does not meet that...
Read more >HttpClient.PostAsync Method (System.Net.Http)
A cancellation token that can be used by other objects or threads to receive notice of cancellation. Returns. Task<HttpResponseMessage>. The task object ......
Read more >HttpClient GetAsync, PostAsync, SendAsync in C# - ...
HttpClient is a library in the Microsoft .NET framework 4+ that is used for GET and POST requests. Let's go through a simple...
Read more >How do I pass an object to HttpClient.PostAsync and serialize ...
Coding example for the question How do I pass an object to HttpClient.PostAsync and serialize as a JSON body?-C#.
Read more >C# HttpClient PostAsync not returning the response...
I need the new object details to add a reference to some other object. I have tried with both HttpClient and HttpRequest but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. Thanks. This code needs to be included to make that work:
using Firebase.Database.Query;
The samples show queries well but nothing on doing an update. Something like a CRUD ToDo demo would be very helpful
From: Tomas Bezouska notifications@github.com Sent: Monday, December 25, 2017 7:04:14 AM To: step-up-labs/firebase-database-dotnet Cc: codegrue; Comment Subject: Re: [step-up-labs/firebase-database-dotnet] PostAsync(T object) (#113)
Some samples can be found here: https://medium.com/step-up-labs/firebase-c-library-5c342989ad18https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Fstep-up-labs%2Ffirebase-c-library-5c342989ad18&data=02|01||58cc228478c74dd172d408d54b8f9ec2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636498002564862101&sdata=PnmcgtXtRA%2BKMR%2BtO25T18Y2d9wAvnPsyU3OxxFibTs%3D&reserved=0
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstep-up-labs%2Ffirebase-database-dotnet%2Fissues%2F113%23issuecomment-353864862&data=02|01||58cc228478c74dd172d408d54b8f9ec2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636498002564862101&sdata=HWIa7dLZE1DfwgmAdBouIRJN792IAvKuTdgU%2BeXHRh0%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACx5OI6u51p0X575v4sx7K7lvR15pjisks5tD48-gaJpZM4QkaQ4&data=02|01||58cc228478c74dd172d408d54b8f9ec2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636498002564862101&sdata=1EPJ0CBAOLihEPBXS7bNdWmlk%2B6A16hy706g4zVCokc%3D&reserved=0.