Create 3 sample HTTP requests to add a new user to a database.
Assuming that the server uses a REST API with the endpoint `/users` to manage its user, below are the 3 sample HTTP requests to add a new user to the database:

**1. HTTP POST request using cURL:**

```sh
curl -X POST \
  'http://www.example.com/users' \
  -H 'Content-Type: application/json' \
  -d '{"username":"johndoe","fullname":"John Doe","email":"johndoe@example.com","password":"pass1234"}'
```

**2. HTTP POST request using Python requests module:**
```python
import requests

url = 'http://www.example.com/users'
headers = {'Content-Type': 'application/json'}
payload = {
    'username': 'johndoe',
    'fullname': 'John Doe',
    'email': 'johndoe@example.com',
    'password': 'pass1234'
}
response = requests.post(url, headers=headers, data=json.dumps(payload))
```

**3. HTTP POST request using JavaScript fetch API:**
```javascript
const url = 'http://www.example.com/users';
const headers = {'Content-Type': 'application/json'};
const payload = {
    'username': 'johndoe',
    'fullname': 'John Doe',
    'email': 'johndoe@example.com',
    'password': 'pass1234'
};
fetch(url, {
	method: 'POST', 
	headers: headers,
	body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));
```

In all the above requests, a user with the respective details (username, fullname, email, and password) is being added to the users' endpoint using the HTTP POST method.
Complete the following task based on the instruction and optional input provided.### Instruction:
Create 3 sample HTTP requests to add a new user to a database.

### Output:
Assuming that the server uses a REST API with the endpoint `/users` to manage its user, below are the 3 sample HTTP requests to add a new user to the database:

**1. HTTP POST request using cURL:**

```sh
curl -X POST \
  'http://www.example.com/users' \
  -H 'Content-Type: application/json' \
  -d '{"username":"johndoe","fullname":"John Doe","email":"johndoe@example.com","password":"pass1234"}'
```

**2. HTTP POST request using Python requests module:**
```python
import requests

url = 'http://www.example.com/users'
headers = {'Content-Type': 'application/json'}
payload = {
    'username': 'johndoe',
    'fullname': 'John Doe',
    'email': 'johndoe@example.com',
    'password': 'pass1234'
}
response = requests.post(url, headers=headers, data=json.dumps(payload))
```

**3. HTTP POST request using JavaScript fetch API:**
```javascript
const url = 'http://www.example.com/users';
const headers = {'Content-Type': 'application/json'};
const payload = {
    'username': 'johndoe',
    'fullname': 'John Doe',
    'email': 'johndoe@example.com',
    'password': 'pass1234'
};
fetch(url, {
	method: 'POST', 
	headers: headers,
	body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));
```

In all the above requests, a user with the respective details (username, fullname, email, and password) is being added to the users' endpoint using the HTTP POST method.