Skip to content

Commit

Permalink
update readme.md to be more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
patx committed Jan 20, 2025
1 parent 385b079 commit efba00e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ class MyApp(Server):

MicroPie supports handling form data submitted via HTTP POST requests. Form data is automatically mapped to method arguments.

#### **Example 1: Handling Form Submission with Default Values**
#### **Handling Form Submission with Default Values**

```python
class MyApp(Server):
def submit(self, username="Anonymous"):
return f"Form submitted by: {username}"
```

#### **Example 2: Accessing Raw POST Data**
#### **Accessing Raw POST Data**

```python
class MyApp(Server):
Expand All @@ -128,7 +128,7 @@ class MyApp(Server):
return f"Submitted by: {username}"
```

#### **Example 3: Handling Multiple POST Parameters**
#### **Handling Multiple POST Parameters**

```python
class MyApp(Server):
Expand Down

0 comments on commit efba00e

Please sign in to comment.