how to set REST path for gcloud api in vibe.d?

MichaelBi shunjie.bi at gmail.com
Tue Jun 14 08:59:53 UTC 2022


I need to use gcloud NLP api which has the url and endpoint like 
this 
"https://language.googleapis.com/v1beta2/documents:analyzeSentiment". The ":" between documents and analyzeSentiment make a lot trouble for me. Just don't know how to setup the @path in RestInterface for such endpoint. I tried many, including `/documents:analyzeSentiment` but all failed, cannot go to the right path...

any idea? thank in advance.


More information about the Digitalmars-d-learn mailing list