plone / plone.rest

Plone support for HTTP verbs (GET, POST, PUT, DELETE, ...)
https://pypi.org/project/plone.rest/
11 stars 5 forks source link

Support for REST API custom endpoints? #24

Closed zopyx closed 8 years ago

zopyx commented 8 years ago

Is there some way to use plone.rest for custom endpoint like

PUT http://.../Plone/my/connector/crex/upload

where 'crex/upload' is a REST method specific to IConnector (implemented by the document under /my/connector). Is this somehow doable with plone.rest?

lukasgraf commented 8 years ago

@zopyx we implemented support for named services in #18 (see tests / testing.zcml for a usage example). Does this cover your use case?

tisto commented 8 years ago

@lukasgraf maybe we should add this use case to the README.rst as well.

lukasgraf commented 8 years ago

@tisto :+1: - will do

zopyx commented 8 years ago

Exactly what I need.