2021年3月3日星期三

Naming a REST Endpoint for compiling/mapping/processing data

I am building a restful api. The appication takes data from the user on the frontend (either from a data form or an uploaded file), sends it to the backend for processing and returns with the processed data. It doesn't save the data or access another resource. What would be a good way to name the RESTful endpoint? The endpoint doesn't access a resource and is more RPC. I have thought of having something like

api/compiliations/excel  api/compilations/myinput  

What would be the best way to name this endpoint?

https://stackoverflow.com/questions/66466046/naming-a-rest-endpoint-for-compiling-mapping-processing-data March 04, 2021 at 06:43AM

没有评论:

发表评论