# Creating HTTP Operation paths

### GET request:

```python
@app.get("/")
def root():
    return {"message": "Hello World"}
```

### POST request:

```python
@app.post("/createpost")
def create_posts():
    return {"message": "successfully created post"}
```
