作者:手机用户2502853355 | 来源:互联网 | 2023-02-01 20:36
ImtryingtocreateaRESTFulWebServiceforuploadphotos.IsitpossiblecreateaGoogleCloudE
I'm trying to create a RESTFul Web Service for upload photos. Is it possible create a Google Cloud Endpoints to upload images/photos? My problem is that I can't understand how to write the function declaration and which parameters I need to handle.
我正在尝试为上传照片创建RESTFul Web服务。是否可以创建Google Cloud Endpoints来上传图片/照片?我的问题是我无法理解如何编写函数声明以及我需要处理哪些参数。
public void uploadPhoto(@Named("token") String token, @Named("title") String title, @Named("description") String description, @Named("photo") HttpServletRequest req) {}
If I handle value of req, what I will find in it? Thank you
如果我处理req的价值,我会在其中找到什么?谢谢
1 个解决方案