Skip to content

mustvicky/SpeedTestVoiceApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvn archetype:generate -DgroupId=com.rv.speedtest.app \
    -DartifactId=SpeedTestVoiceApp  \
    -DarchetypeArtifactId=maven-archetype-webapp  \
    -DinteractiveMode=false 

    mvn eclipse:eclipse -Dwtpversion=2.0
    
curl --data "" http://localhost:8080/SpeedTestVoiceApp/speechlet2

https://github.com/mustvicky/SpeedTestVoiceApp.git 

curl -H "Accept: application/json" \
--insecure \
-H "Content-type: application/json" \
-d ' {"version":"1.0","session":{"new":true,"sessionId":"amzn1.echo-api.session.f502b4e4-64e3-4548-a973-1ebf5acfd059","user":{"userId":"amzn1.account.AHTJAXUT32L5BJWF3IALP7ASG2WA"}},"request":{"type":"LaunchRequest","requestId":"amzn1.echo-api.request.345f0409-64b9-4024-ae0f-df617a2954a8"}}' \
http://localhost:8080/SpeedTestVoiceApp/speechlet2
https://speedtestvoiceapp-1878794768.us-west-2.elb.amazonaws.com/SpeedTestVoiceApp/speechlet

-------------------------------------------------------------------------------

curl --header "Authorization: key=AIzaSyBpDJsDuAaroobcxArYGIPzF9G5KudlAaA" \
       --header Content-Type:"application/json" \
       https://android.googleapis.com/gcm/send \
       -d "{\"registration_ids\":[\"APA91bHXAyfIjAsByGZ5eCUyN578lSav2IsG325asY6ILuwWsPGRM0vlKtk2nvW1o65MQozk0jCzk62zL0yAJI_9B8HNsQ6iEGt3N_xpd6ZMXA3dHoFcZPPKsCuV8Lp5OUFwEvdI7k4rhqUBQ_foLNqEmLEO0W5zLg\"]}"


curl -H "Accept: application/json" --insecure -H \
   "Content-type: application/json" -d '{"mobileRegistrationId": "XYZ", "invitationCode": "9740"}' \ 
   http://localhost:8080/SpeedTestVoiceApp/registerDevice

   
curl -H "Accept: application/json" --insecure -H \
   "Content-type: application/json" -d '{"messageId": "XYZ"}' \ 
   http://localhost:8080/SpeedTestVoiceApp/reportNetworkSpeed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published