DEV Community

loading...

Discussion on: 4 reasons why you should use GraphQL over REST APIs

Collapse
nimahkh profile image
Nima Habibkhoda

Sending blob is not strange . you can do it also in REST, and inside backend you can convert it into file, store the name in database and file in your storage

Collapse
mk0y8 profile image
Marko Jakic

You can add Content-Type to the response in REST, put the path directly to "src" attribute to your img.

Some comments have been hidden by the post's author - find out more