# Providing Configurations

next we must define the configurations for our middleware

{% code title="config.js" %}

```javascript
import {DEVICE_SPEC} from './spec';

export default {
    specs: {
        POST: {
            '/device': {
                body: DEVICE_SPEC,
            },
        },
    },
};
```

{% endcode %}
