How to CALL POST API in C#! - THIS EASY!

  Рет қаралды 68,495

tutorialsEU - C#

tutorialsEU - C#

Жыл бұрын

🔥 Learn How to CALL POST API in C#! using the JSON Placeholder API!
🚀 C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp...
Here is the article: tutorials.eu/how-to-call-post...
We'll make sure to turn you into a true developer in no time!
So, what is C#?
C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.
What is an API?
An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software.[1] A document or standard that describes how to build or use such a connection or interface is called an API specification. A computer system that meets this standard is said to implement or expose an API. The term API may refer either to the specification or to the implementation.
And what is JSON and the JSON Placeholder API?
JSONPlaceholder is a free online REST API that you can use whenever you need some fake data. It can be in a README on GitHub, for a demo on CodeSandbox, in code examples on Stack Overflow, ...or simply to test things locally.
And what are Requests?
An HTTP request is made by a client, to a named host, which is located on a server. The aim of the request is to access a resource on the server. To make the request, the client uses components of a URL (Uniform Resource Locator), which includes the information needed to access the resource. In this video for example, we used the POST request.
To learn more, make sure to watch the video, and we promise you that you'll become a C# developer by the end of the course! Have fun!
#csharp #coding #tutorial #learn #microsoft #net #http #api #post #request #dotnet
TAGS
Tutorials,Tutorial,Programming,Course,Learn,Step by step,guide,development,programmer,video course,video tutorial,learn how to,how to,visual studio,c#,.net,.net core,dotnet,visual studio 2019,core,code,asp,asp net,c sharp,coding,csharp,programming,api,rest api,rest,json,http,api testing,software development,c# tutorial for beginners,c# tutorial,c# restsharp tutorial,how to call post api in c#,csharp api,step by step,mvc,web api,rest api tutorial
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
C#: / @tutorialseuc
Facebook: / tutorialseu-1093802040...
LinkedIn: / tutorialseu
Discord: / discord

Пікірлер: 30
@tutorialsEUC
@tutorialsEUC Жыл бұрын
🚀C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp-progress-academy
@GeoBGeoB
@GeoBGeoB 9 ай бұрын
Simple, Complete, just awesome! Thank you!
@shubhanginimje8833
@shubhanginimje8833 7 ай бұрын
Just Wow .. I have been through most of your videos in last 2 days and all are awesome and so easy to understand. Thank you so much
@christopherbellis
@christopherbellis 3 сағат бұрын
Super helpful. Thanks!!
@jp2code
@jp2code 6 ай бұрын
Is this really a POST? It seems more like a GET. How do I modify PostData and send the changes back to the API?
@arung2207
@arung2207 11 ай бұрын
Very good concept, helps tremendously in API testing! Congrats! One suggestion, can you have Swagger documentation for the APIs, that will clearly explain about all the endpoints available. Also some endpoints which require authentication would be really useful.
@icesilver9688
@icesilver9688 Жыл бұрын
Thank you so much for this tutorial. Helped me a lot!
@deadbyclosary9021
@deadbyclosary9021 3 ай бұрын
there is a spy around here watch out engie
@user-om8yk3dk5j
@user-om8yk3dk5j Жыл бұрын
How to pass an encrypted token using the POST method?
@philippemaze4562
@philippemaze4562 6 ай бұрын
So simple, so well explained, great job 👍👍🥇🥇
@daberechukwuibeakanma5230
@daberechukwuibeakanma5230 Жыл бұрын
This tutorial has been very helpful. Thank you for this.
@tutorialsEUC
@tutorialsEUC Жыл бұрын
Glad to hear that!
@RaminBohlouli
@RaminBohlouli 2 ай бұрын
Awesome tutorial, right to the point . Thanks and you've got a new subscriber.
@swankyshivy
@swankyshivy 25 күн бұрын
how do you send data as well as attachment files , what would mediatype be in StringContent?
@pablolima7350
@pablolima7350 8 ай бұрын
I'm making a program where I use C# Forms as Front End, sending it to an API that is open on my machine (Local Host API), it is possible using these same request methods
@cherryt6853
@cherryt6853 Жыл бұрын
Same code functionality not working at app service deployment, showing no content response. Any idea?
@Little-Impact
@Little-Impact 9 ай бұрын
Its really nice tutorial. It would be great if you can show another video of same POST Request with same Model Class by using RestSharp library.
@hoangheo2505
@hoangheo2505 6 ай бұрын
thanks you so much
@TheGeneliia
@TheGeneliia Жыл бұрын
How can we add timeout second?
@boodyghadban
@boodyghadban Жыл бұрын
Awsome. Thanks. It is gonna be great if you include a kind of API authentication by access token ...
@vyxsoln2399
@vyxsoln2399 Жыл бұрын
Yes itsva food idea to include token access api authentication
@gonzaloportada2755
@gonzaloportada2755 10 ай бұрын
IT WOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRRRRRRRRRRRKKKKKKKKKKS ! THAANKS !
@athanasmb
@athanasmb 5 ай бұрын
Rspect. Great work..
@musicasdomundo3267
@musicasdomundo3267 Жыл бұрын
I 'D LIKE TO KNOW HOW TO PUT GLOSBE IN LIBREOFFICE TO TRANSLITERATE PINYIN , DOES ANY BODY KNOWS?
@souravjoshifc740
@souravjoshifc740 Ай бұрын
its helping video
@pastexpiry2013B
@pastexpiry2013B 11 ай бұрын
Damn it... why can't I find a version for winforms???? console is useless to me.
@philipuswijaya7240
@philipuswijaya7240 6 ай бұрын
Good video👍
@Ahamedmukshithm
@Ahamedmukshithm 6 ай бұрын
Give these [JsonPropertyName("id")] Data annotation on the Id property above in PostResponse class ✌✌
@inappropriateDad
@inappropriateDad 18 күн бұрын
Link to your article listed above has a malware download purporting to be a Firefox update with AI capabilities. It's evil.
@gonzaloportada2755
@gonzaloportada2755 10 ай бұрын
IT WOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRRRRRRRRRRRKKKKKKKKKKS ! THAANKS !
Understand C# LAMBDA Expressions in only 2 minutes!
4:22
tutorialsEU - C#
Рет қаралды 51 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 13 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 7 МЛН
Http Get And Post In C#
19:37
Nick Proud
Рет қаралды 93 М.
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 832 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 108 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 283 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 254 М.
Using HttpClient in .NET Core to Connect to APIs in C#
45:03
IAmTimCorey
Рет қаралды 188 М.
Difference Between REST API vs Web API vs SOAP API Explained
7:24
Learn with Whiteboard
Рет қаралды 175 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 13 МЛН