Código HTML:
curl --header "Authorization: key=ABC123" --header "Content-Type: application/json" https://android.googleapis.com/gcm/send -d "{\"registration\_ids\":[\"DFG456\"]}"
| |||
Convertir un comando cURL a javascript Hola. Intento convertir a ajax este comando cURL que funciona correctamente cuando es ejecutado desde una terminal. Código HTML: curl --header "Authorization: key=ABC123" --header "Content-Type: application/json" https://android.googleapis.com/gcm/send -d "{\"registration\_ids\":[\"DFG456\"]}" |
Etiquetas: |