Use this function to check that:
gp_check_clip_endpoint(evaluate = FALSE)
evaluate | should clipboard function be evaulated? Default is ( |
---|
number of warnings
There is an endpoint "/api/test" etc.
There is a "tag" such as @get/@post
Defines a function with/without params
Serves a content-type https://www.w3.org/TR/html4/types.html#h-6.7. No specific checks on the return for now just !is.null()
TODO: content-type matches
using clipr we read from the clipboard
if (FALSE) { gp_check_clip_endpoint() }