Skip to content

Commit

Permalink
set banner and title for blog
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Apr 16, 2024
1 parent 3752ac3 commit c9cb323
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added src/assets/REST_API/images/rest-api-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/assets/REST_API/rest-api.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Understanding REST API
title: Basics of REST API with Examples
authorName: Prajwol Amatya
authorAvatar: https://1.gravatar.com/avatar/de64e53c0e2cb393dd0d14ffdd53058ee9c607b35e366dd392425bd1b95a034c?size=256
authorLink: https://github.com/prajwolamatya
createdAt: May 5, 2024
tags: rest, api, rest api, python, flask
banner:
banner: https://blog.jankaritech.com/src/assets/REST_API/images/rest-api-banner.png
---

Within the field of web development, APIs, or application programming interfaces, are essential for facilitating communication across various software components. Because of its simplicity, scalability, and statelessness, REST (Representational State Transfer) APIs stand out among the other types of APIs. In this blog, we will dive into basics of building a REST API.
Expand Down Expand Up @@ -34,12 +34,12 @@ REST APIs utilize a client-server architecture, communicating over HTTP. The cli

- **Representations**: Resources are represented in a format easily understood by both client and server, commonly JSON (JavaScript Object Notation) or XML (eXtensible Markup Language).

### Implementing REST API
Now, lets start to build a REST API. Before we start, make sure you have Python installed on your system. You can download Python from [python.org](https://www.python.org/). We will also need Flask, which you can install using pip:
```bash
pip install Flask
```

### Implementing REST API
We will build a REST API for managing a list of tasks. Each task will have a title and a status indicating whether it's completed or not.

1. Create a new Python file: `app.py`
Expand Down

0 comments on commit c9cb323

Please sign in to comment.