Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 506 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 506 Bytes

How to use the API endpoint

See: src/pages/debug.vue

const response = await fetch(`https://storage.clubs.place/api/blob`, {
	method: 'POST',
	body: formData,
})

or, you can add your EOA address on the file name by adding message and signature:

const response = await fetch(
	`https://storage.clubs.place/api/blob?message=SIGNED_MESSAGE&signature=0x...`,
	{
		method: 'POST',
		body: formData,
	},
)