الانضمام بوت ليبر هو شريك التابعة لها برنامج الدعم المجاني لدينا منصة مفتوحة
Bot Libre Forum

CORS

قبل fafino نشر Feb 29 2016, 6:08

Hi,

  I use the example: http://www.botlibre.com/forum-post?id=566608

but have a this error:

Bloccata richiesta multiorigine (cross-origin): il criterio di corrispondenza dell’origine non consente la lettura della risorsa remota da http://www.botlibre.com/rest/api/form-speak?&text=This%20is%20a%20test%2C%20testing%201%202%203%204%205%206%207%208%209%2010&voice=cmu-slt. Motivo: header CORS “Access-Control-Allow-Origin” mancante.

 

tks

 

Fabio


by admin posted Feb 29 2016, 7:28
That is odd, our server allows CORS, so you should not have this error. You can test this API from our blog, which verifies it works acrosss CORS.

http://botlibre.blogspot.ca/2014/11/add-speech-to-your-website-using-bot.html

If you website http or https? If you website is https, then you need to use our https link,

https://www.botlibre.com/rest/api/form-speak/...

Updated: Feb 29 2016, 7:28
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3027, today: 0, week: 0, month: 19

by fafino posted Mar 1 2016, 4:23

I use in my PC, but in the server ok

 

Tks


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2962, today: 1, week: 1, month: 20

معرف: 12290344
Tags: api, speech, cors
نشر: Feb 29 2016, 6:08
تحديث: Feb 29 2016, 7:29
الردود: 2
الآراء: 4818, اليوم: 1, الأسبوع: 1, الشهر: 19
0 0 0.0/5