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

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • 🔥 Learn How to CALL POST API in C#! using the JSON Placeholder API!
    🚀 C# Progress Academy - Become a senior C# developer: academy.tutori...
    Here is the article: tutorials.eu/h...
    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

Комментарии • 32

  • @tutorialsEUC
    @tutorialsEUC  Год назад +3

    🚀C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp-progress-academy

  • @arung2207
    @arung2207 Год назад +3

    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.

  • @user-om8yk3dk5j
    @user-om8yk3dk5j Год назад +5

    How to pass an encrypted token using the POST method?

  • @jp2code
    @jp2code 8 месяцев назад +3

    Is this really a POST? It seems more like a GET. How do I modify PostData and send the changes back to the API?

  • @shubhanginimje8833
    @shubhanginimje8833 9 месяцев назад

    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

  • @RaminBohlouli
    @RaminBohlouli 4 месяца назад

    Awesome tutorial, right to the point . Thanks and you've got a new subscriber.

  • @christopherbellis
    @christopherbellis Месяц назад

    Super helpful. Thanks!!

  • @philippemaze4562
    @philippemaze4562 7 месяцев назад

    So simple, so well explained, great job 👍👍🥇🥇

  • @gonzaloportada2755
    @gonzaloportada2755 Год назад +1

    IT WOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRRRRRRRRRRRKKKKKKKKKKS ! THAANKS !

  • @PiraoPuro
    @PiraoPuro Месяц назад

    Thanks for share, very good...

  • @icesilver9688
    @icesilver9688 Год назад +2

    Thank you so much for this tutorial. Helped me a lot!

    • @deadbyclosary9021
      @deadbyclosary9021 5 месяцев назад

      there is a spy around here watch out engie

  • @boodyghadban
    @boodyghadban Год назад +2

    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

  • @daberechukwuibeakanma5230
    @daberechukwuibeakanma5230 Год назад +1

    This tutorial has been very helpful. Thank you for this.

  • @GeoBGeoB
    @GeoBGeoB 10 месяцев назад

    Simple, Complete, just awesome! Thank you!

  • @Little-Impact
    @Little-Impact 10 месяцев назад

    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.

  • @athanasmb
    @athanasmb 6 месяцев назад

    Rspect. Great work..

  • @swankyshivy
    @swankyshivy 2 месяца назад

    how do you send data as well as attachment files , what would mediatype be in StringContent?

  • @philipuswijaya7240
    @philipuswijaya7240 7 месяцев назад

    Good video👍

  • @pablolima7350
    @pablolima7350 10 месяцев назад

    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?

  • @shreyash9357
    @shreyash9357 Месяц назад

    How do remove double quote key in json

  • @souravjoshifc740
    @souravjoshifc740 2 месяца назад

    its helping video

  • @hoangheo2505
    @hoangheo2505 8 месяцев назад

    thanks you so much

  • @Ahamedmukshithm
    @Ahamedmukshithm 8 месяцев назад

    Give these [JsonPropertyName("id")] Data annotation on the Id property above in PostResponse class ✌✌

  • @TheGeneliia
    @TheGeneliia Год назад

    How can we add timeout second?

  • @pastexpiry2013B
    @pastexpiry2013B Год назад

    Damn it... why can't I find a version for winforms???? console is useless to me.

  • @inappropriateDad
    @inappropriateDad 2 месяца назад

    Link to your article listed above has a malware download purporting to be a Firefox update with AI capabilities. It's evil.

  • @musicasdomundo3267
    @musicasdomundo3267 Год назад

    I 'D LIKE TO KNOW HOW TO PUT GLOSBE IN LIBREOFFICE TO TRANSLITERATE PINYIN , DOES ANY BODY KNOWS?

  • @gonzaloportada2755
    @gonzaloportada2755 Год назад

    IT WOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRRRRRRRRRRRKKKKKKKKKKS ! THAANKS !