Closed franky19 closed 5 years ago
Iman Suherman 3:42 PM
buat teman-teman semua, saya sudah enable CORS di video manager API ya. Berikut ini adalah hasil testnya:
➜ tutorialsystem-video-manager git:(master) curl -I https://api.tutorialinaja.tech/vidm/v1/metavideos/store/e63d1115-8c27-4809-a01b-4cf511ede82c
\HTTP/2 200
date: Mon, 11 Nov 2019 08:42:01 GMT
content-type: text/html; charset=UTF-8
content-length: 0
x-amzn-requestid: 4a7f45ae-3653-4f9d-b1ae-c590d5fa9c47
access-control-allow-origin: *
allow: POST
access-control-allow-headers: Content-Type, Authorization, X-Requested-With
x-amzn-remapped-connection: close
x-amz-apigw-id: C_HB4HpKyQ0FsNg=
cache-control: no-cache, private
x-powered-by: PHP/7.3.7
access-control-allow-methods: POST, GET, OPTIONS, PUT, DELETE
x-amzn-remapped-host: api.tutorialinaja.tech
x-amzn-trace-id: Root=1-5dc91ed8-f7b665cc733733908f5e89a1;Sampled=1
access-control-max-age: 86400
x-amzn-remapped-date: Mon, 11 Nov 2019 08:42:01 GMT
x-amzn-remapped-date: Mon, 11 Nov 2019 08:42:01 GMT
access-control-allow-credentials: true
link api yang error https://api.tutorialinaja.tech/vidm/v1/metavideos/store/e63d1115-8c27-4809-a01b-4cf511ede82c