Home > Software engineering >  Could you name some apis to upload image with react with for testing purposes
Could you name some apis to upload image with react with for testing purposes

Time:07-04

I have already used imgur api but after some usage it is giving 429 error type too many requests

CodePudding user response:

So why don't you just simulate the image uploading behavior for testing purposes (delay 500ms after clicking upload and then returning some pre-defined image URL)? I think that upload itself it's not important for you during development process.

CodePudding user response:

My suggestion for the best API for testing and also production Unsplash is the best API. I don't know which language you are using but Unsplash provides a library for specific Languages so you easily used them.

API Doc: https://unsplash.com/documentation Specific Language Library: https://unsplash.com/documentation#libraries--sdks

I hope this API will you use.

  • Related