kopia lustrzana https://github.com/gaul/s3proxy
Add node.js example
rodzic
323063ad11
commit
0da4b234ef
|
@ -22,6 +22,17 @@ client.setEndpoint("http://127.0.0.1:8080");
|
|||
client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
|
||||
```
|
||||
|
||||
### [AWS SDK for JavaScript in node.js](https://aws.amazon.com/sdk-for-node-js/)
|
||||
|
||||
```javascript
|
||||
var AWS = require('aws-sdk');
|
||||
var s3 = new AWS.S3({
|
||||
endpoint: 'http://127.0.0.1:8081',
|
||||
region: null,
|
||||
s3ForcePathStyle: true
|
||||
});
|
||||
```
|
||||
|
||||
### [boto](https://github.com/boto/boto)
|
||||
|
||||
```python
|
||||
|
|
Ładowanie…
Reference in New Issue