Send and take 3D, 2D objects from client to server mit REST-API

Hello, how could I send and take 3D, 2D (.OBJ, .GLTF, .PNG, .JPG) objects from client to server with REST-API? Thank you.