Vocab-Apps / mandarin-cantonese-api

API for processing Mandarin and Cantonese
GNU General Public License v3.0
10 stars 0 forks source link

Service is unreachable on https, and 404s on http #3

Closed expipiplus1 closed 3 years ago

expipiplus1 commented 3 years ago

To reproduce:

One can also see this with:

curl -XPOST -H "Content-type: application/json" -d "{'conversion': \"pinyin\", 'tone_numbers': false, 'spaces': false,'entries': [\"所\"]};" 'http://api.prod.mandarincantonese.com/batch'

It does however still work using the published app, nasty that google doesn't let us see the source for that!

luc-vocab commented 3 years ago

Yes please use the published add-on, the manual installation was only a temporary workaround until Google allowed installation of the add-on.

expipiplus1 commented 3 years ago

Right, I'm actually trying to use it from a google app script so that's not possible.

I'm self hosting this now anyway which suits me. Thanks for this handy project!

luc-vocab commented 3 years ago

OK, I take it you're satisfied to use the published addon with the PINYIN/JYUTPING functions ? If so then yes self hosting is the best approach.

expipiplus1 commented 3 years ago

Yeah, that works for me, thanks.