Guest User

Untitled

a guest
Jan 12th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. How to test an HTTP-based matchmaker:
  2.  
  3. Command:
  4.  
  5. curl -X POST -d "@mmpost.txt" http://160.40.50.130/match --header "Content-Type:application/json"
  6.  
  7. Place the following JSON into a file mmpost.txt in the same directory:
  8.  
  9. {
  10. "preferences": {
  11. "http://registry.gpii.org/applications/trace.easyOne.communicator.windows": [
  12. {
  13. "value": {}
  14. }
  15. ],
  16. "http://registry.gpii.org/applications/info.cloud4all.JME": [
  17. {
  18. "value": {
  19. "theme": "Black-White",
  20. "fontSize": "veryLarge",
  21. "language": "English",
  22. "volume": 100,
  23. "vibrationMode": 2
  24. }
  25. }
  26. ],
  27. "http://registry.gpii.org/applications/com.android.persistentConfiguration": [
  28. {
  29. "value": {
  30. "fontScale": "2",
  31. "locale": "en"
  32. }
  33. }
  34. ],
  35. "http://registry.gpii.org/applications/com.android.audioManager": [
  36. {
  37. "value": {
  38. "STREAM_VOICE_CALL": 15,
  39. "STREAM_SYSTEM": 15,
  40. "STREAM_RING": 15,
  41. "STREAM_MUSIC": 15,
  42. "STREAM_ALARM": 15,
  43. "STREAM_NOTIFICATION": 15,
  44. "STREAM_DTMF": 15
  45. }
  46. }
  47. ],
  48. "http://registry.gpii.org/applications/eu.singularlogic.pixelsense.sociable": [
  49. {
  50. "value": {
  51. "user.$t": 1,
  52. "expert.$t": 1,
  53. "careCenter.$t": 1,
  54. "screenReaderTTSEnabled": true,
  55. "highContrastEnabled": true,
  56. "fontSize": "large"
  57. }
  58. }
  59. ]
  60. },
  61. "device": {
  62. "solutions": [
  63. {
  64. "id": "net.gpii.smarthouses"
  65. },
  66. {
  67. "id": "org.gnome.desktop.interface"
  68. },
  69. {
  70. "id": "org.gnome.shell.overrides"
  71. },
  72. {
  73. "id": "org.gnome.desktop.wm.preferences"
  74. },
  75. {
  76. "id": "org.gnome.nautilus"
  77. },
  78. {
  79. "id": "org.gnome.desktop.a11y.keyboard"
  80. },
  81. {
  82. "id": "org.gnome.desktop.a11y.applications.onscreen-keyboard"
  83. },
  84. {
  85. "id": "org.gnome.orca"
  86. },
  87. {
  88. "id": "org.gnome.desktop.a11y.magnifier"
  89. },
  90. {
  91. "id": "com.microsoft.windows.magnifier"
  92. },
  93. {
  94. "id": "com.microsoft.windows.onscreenKeyboard"
  95. },
  96. {
  97. "id": "org.nvda-project"
  98. },
  99. {
  100. "id": "org.gnome.desktop.interface"
  101. },
  102. {
  103. "id": "org.gnome.nautilus"
  104. },
  105. {
  106. "id": "trace.easyOne.communicator.windows"
  107. },
  108. {
  109. "id": "trace.easyOne.communicator.linux"
  110. },
  111. {
  112. "id": "trace.easyOne.sudan.windows"
  113. },
  114. {
  115. "id": "trace.easyOne.sudan.linux"
  116. },
  117. {
  118. "id": "webinsight.webAnywhere.windows"
  119. },
  120. {
  121. "id": "webinsight.webAnywhere.linux"
  122. },
  123. {
  124. "id": "com.texthelp.readWriteGold"
  125. },
  126. {
  127. "id": "net.opendirective.maavis"
  128. },
  129. {
  130. "id": "com.microsoft.windows.highContrast"
  131. },
  132. {
  133. "id": "com.microsoft.windows.mouseTrailing"
  134. },
  135. {
  136. "id": "com.microsoft.windows.cursors"
  137. },
  138. {
  139. "id": "com.android.activitymanager"
  140. },
  141. {
  142. "id": "com.android.talkback"
  143. },
  144. {
  145. "id": "com.android.freespeech"
  146. },
  147. {
  148. "id": "org.chrome.cloud4chrome"
  149. },
  150. {
  151. "id": "com.android.settings.secure"
  152. },
  153. {
  154. "id": "com.android.audioManager"
  155. },
  156. {
  157. "id": "com.android.persistentConfiguration"
  158. },
  159. {
  160. "id": "org.alsa-project"
  161. },
  162. {
  163. "id": "org.freedesktop.xrandr"
  164. },
  165. {
  166. "id": "com.android.settings.system"
  167. }
  168. ],
  169. "OS": {
  170. "id": "win32",
  171. "version": "6.1.7601"
  172. }
  173. }
  174. }
Advertisement
Add Comment
Please, Sign In to add comment