Official React component for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
This is my react component:
<ReactFilestack apikey={this.props.fp_api_key} onSuccess={(res) => console.log(res)} componentDisplayMode={{ type: 'button', customText: 'Attach Files', customClass: 'btn btn-info btip pull-right' }} />
Everything works until I hit the upload button, then I get a 403 error. The API key is one that we currently use with the filestack-rails gem, which seems to call a different api endpoint going by the network tab in dev tools.
How do I get this api key to work in the react component?
This is my react component:
<ReactFilestack apikey={this.props.fp_api_key} onSuccess={(res) => console.log(res)} componentDisplayMode={{ type: 'button', customText: 'Attach Files', customClass: 'btn btn-info btip pull-right' }} />
Everything works until I hit the upload button, then I get a 403 error. The API key is one that we currently use with the filestack-rails gem, which seems to call a different api endpoint going by the network tab in dev tools.How do I get this api key to work in the react component?
Thanks.