Epson TM-m50II Technical Reference Guide - Page 123

Response, Table 5 Response Header, Table 6 Response, Table 7 GET Response Body, Function

Page 123 highlights

Appendix Response Table 5 Response Header Content-Type: application/json; charset=utf-8 Access-Control-Allow-Origin: * Access-Control-Allow-Methods: POST, GET, OPTIONS, HEADER Access-Control-Allow-Headers: Content-Type, Content-Length, Authorization X-Content-Type-Options: nosniff X-XSS-protection: 1; mode=block X-Frame-Options: deny Content-Security-Policy: default-src 'none' WWW-Authenticate: Digest realm="", nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", qop="auth" Table 6 Response Function GET Parameter Results Acquires the configuration script Type=current currently enabled Or no Type is set Acquisition successful Acquires the configuration script Type=volatile on the RAM Acquisition successful Acquisition failed (No file) Acquires the configuration script Type=static on the ROM Acquisition successful Acquisition failed (No file) Acquires the Default configuration script Type=default Acquisition successful Acquires information from the Type=status Bluetooth adapter Acquisition successful Acquisition failed (No adapter connected) Others Type = Other than the above or A parameter except for Type exists Type is invalid Response 200 OK 200 OK 404 Not Found 200 OK 404 Not Found 200 OK 200 OK 404 Not Found 400 Bad Request Table 7 GET Response Body Response Status 200 OK Response Body { "message": "Success" "detail": null "description" : } 123

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133

123
Appendix
Response
Table 5 Response Header
Table 6 Response
Table 7 GET Response Body
Content-Type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, HEADER
Access-Control-Allow-Headers: Content-Type, Content-Length, Authorization
X-Content-Type-Options: nosniff
X-XSS-protection: 1; mode=block
X-Frame-Options: deny
Content-Security-Policy: default-src 'none'
WWW-Authenticate: Digest realm="<IPaddr>", nonce="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", qop="auth"
Function
GET Parameter
Results
Response
Acquires the configuration script
currently enabled
Type=current
Or no Type is set
Acquisition successful
200 OK
Acquires the configuration script
on the RAM
Type=volatile
Acquisition successful
200 OK
Acquisition failed (No file)
404 Not Found
Acquires the configuration script
on the ROM
Type=static
Acquisition successful
200 OK
Acquisition failed (No file)
404 Not Found
Acquires the Default
configuration script
Type=default
Acquisition successful
200 OK
Acquires information from the
Bluetooth adapter
Type=status
Acquisition successful
200 OK
Acquisition failed (No adapter
connected)
404 Not Found
Others
Type = Other than
the above
or
A parameter except
for Type exists
Type is invalid
400 Bad Request
Response Status
Response Body
200 OK
{
"message":
"Success"
"detail": null
"description" : <Encoded string for the configuration script>
}