scaleapi-ruby 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/CONTRIBUTING.md +29 -0
  4. data/Gemfile +19 -0
  5. data/Gemfile.lock +121 -0
  6. data/LICENSE.md +25 -0
  7. data/README.md +237 -0
  8. data/Rakefile +52 -0
  9. data/VERSION +1 -0
  10. data/lib/scale.rb +42 -0
  11. data/lib/scale/api.rb +104 -0
  12. data/lib/scale/callbacks/base.rb +25 -0
  13. data/lib/scale/callbacks/task.rb +23 -0
  14. data/lib/scale/endpoints/endpoint.rb +31 -0
  15. data/lib/scale/endpoints/tasks/cancel_task.rb +23 -0
  16. data/lib/scale/endpoints/tasks/create_annotation_task.rb +16 -0
  17. data/lib/scale/endpoints/tasks/create_categorization_task.rb +16 -0
  18. data/lib/scale/endpoints/tasks/create_comparison_task.rb +16 -0
  19. data/lib/scale/endpoints/tasks/create_phonecall_task.rb +16 -0
  20. data/lib/scale/endpoints/tasks/create_transcription_task.rb +16 -0
  21. data/lib/scale/endpoints/tasks/list_tasks.rb +27 -0
  22. data/lib/scale/endpoints/tasks/retrieve_task.rb +23 -0
  23. data/lib/scale/endpoints/tasks/task_endpoint.rb +22 -0
  24. data/lib/scale/generic_error.rb +4 -0
  25. data/lib/scale/http_error.rb +16 -0
  26. data/lib/scale/resources/base.rb +6 -0
  27. data/lib/scale/resources/task.rb +26 -0
  28. data/test/callbacks/test_task_callback.rb +35 -0
  29. data/test/fixtures/callback.json +29 -0
  30. data/test/fixtures/vcr_cassettes/tasks.yml +2629 -0
  31. data/test/helper.rb +42 -0
  32. data/test/tasks/test_cancel_task.rb +21 -0
  33. data/test/tasks/test_create_annotation_task.rb +40 -0
  34. data/test/tasks/test_create_categorization_task.rb +40 -0
  35. data/test/tasks/test_create_comparison_task.rb +43 -0
  36. data/test/tasks/test_create_phonecall_task.rb +41 -0
  37. data/test/tasks/test_create_transcription_task.rb +41 -0
  38. data/test/tasks/test_list_tasks.rb +14 -0
  39. data/test/tasks/test_retrieve_task.rb +37 -0
  40. data/test/test_api.rb +27 -0
  41. metadata +182 -0
@@ -0,0 +1,22 @@
1
+ module Scale
2
+ module Endpoints
3
+ module Tasks
4
+ class TaskEndpoint < Endpoint
5
+
6
+ protected
7
+
8
+ def path(p = '')
9
+ "task/#{p}"
10
+ end
11
+
12
+ def build_task(response)
13
+ Resources::Task.new parse(response)
14
+ end
15
+
16
+ def parse(response)
17
+ JSON.parse(response.body) rescue response
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,4 @@
1
+ module Scale
2
+ class GenericError < RuntimeError
3
+ end
4
+ end
@@ -0,0 +1,16 @@
1
+ module Scale
2
+ class HttpError < GenericError
3
+ attr_reader :original_exception, :status_code, :message, :response
4
+
5
+ def initialize(exception)
6
+ @original_exception = exception
7
+ @response = Scale.hash(JSON.parse(exception.response.body)) rescue Scale.hash()
8
+ @status_code = response[:status_code] || e.original_exception.response.code rescue 500
9
+ @message = response[:message] || response[:error]
10
+ end
11
+
12
+ def code
13
+ status_code
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,6 @@
1
+ module Scale
2
+ module Resources
3
+ class Base
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,26 @@
1
+ module Scale
2
+ module Resources
3
+ class Task < Base
4
+ ATTRIBUTES = %w(task_id type instruction params urgency response callback_url status created_at completed_at)
5
+ ATTRIBUTES.each { |attr| attr_reader attr }
6
+
7
+ alias_method :id, :task_id
8
+
9
+ def initialize(json = {})
10
+ ATTRIBUTES.each do |attr|
11
+ instance_variable_set "@#{attr}", json[attr]
12
+ end
13
+
14
+ tweak_attributes
15
+ end
16
+
17
+ protected
18
+
19
+ def tweak_attributes
20
+ @created_at = Time.parse(created_at) rescue nil
21
+ @completed_at = Time.parse(completed_at) rescue nil
22
+ @params = Scale.hash(params)
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,35 @@
1
+ require 'helper'
2
+
3
+ class TestTaskCallback < Test::Unit::TestCase
4
+ context 'process json data' do
5
+ setup do
6
+ @json_data = load_json('callback.json')
7
+ @callback = scale.build_callback @json_data, 'task', callback_key: 'TEST'
8
+ end
9
+
10
+ should 'create a valid response' do
11
+ VCR.use_cassette 'tasks' do
12
+ assert_equal @callback.response, @json_data[:response]
13
+ end
14
+ end
15
+
16
+ should 'create a valid task' do
17
+ VCR.use_cassette 'tasks' do
18
+ assert_equal @callback.task.id, @json_data[:task_id]
19
+ assert_equal @callback.task.status, @json_data[:task][:status]
20
+ end
21
+ end
22
+ end
23
+
24
+ context 'invalid callback key' do
25
+ setup do
26
+ @json_data = load_json('callback.json')
27
+ end
28
+
29
+ should 'raise an error' do
30
+ assert_raise Scale::GenericError do
31
+ scale.build_callback @json_data, 'task', callback_key: 'FAKE'
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,29 @@
1
+ {
2
+ "task": {
3
+ "completed_at": "2016-06-23T21:54:44.904Z",
4
+ "response": {
5
+ "category": "big",
6
+ "status_code": "200"
7
+ },
8
+ "created_at": "2016-06-23T20:08:31.573Z",
9
+ "callback_url": "http://www.example.com/callback",
10
+ "type": "categorization",
11
+ "status": "completed",
12
+ "instruction": "Is this object red or blue?",
13
+ "urgency": "day",
14
+ "params": {
15
+ "attachment_type": "text",
16
+ "attachment": "tomato",
17
+ "categories": [
18
+ "red",
19
+ "blue"
20
+ ]
21
+ },
22
+ "task_id": "576c41bf13e36b0600b02b34"
23
+ },
24
+ "response": {
25
+ "status_code": "200",
26
+ "category": "red"
27
+ },
28
+ "task_id": "576c41bf13e36b0600b02b34"
29
+ }
@@ -0,0 +1,2629 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.scaleapi.com/v1/task/phonecall
6
+ body:
7
+ encoding: UTF-8
8
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Call+this+person+and+tell+me+his+email+address.+Ask+if+he%27s+happy+too.&phone_number=5055006865&entity_name=Alexandr+Wang&fields[email]=Email+Address&choices[]=He+is+happy&choices[]=He+is+not+happy
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ Content-Length:
19
+ - '263'
20
+ Host:
21
+ - api.scaleapi.com
22
+ Authorization:
23
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Tue, 20 Sep 2016 20:33:49 GMT
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ Set-Cookie:
38
+ - __cfduid=d39ec5d41e60cdcd371dba28c989f0b3f1474403625; expires=Wed, 20-Sep-17
39
+ 20:33:45 GMT; path=/; domain=.scaleapi.com; HttpOnly
40
+ - heroku-session-affinity=ACyDaANoA24IAXNQgdX///8HYgAGKK1iAAD3Z2EBbAAAAAFtAAAABXdlYi4xalCE7IkFbf79r1lpim0KINdzkUSJ;
41
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:49 GMT; Max-Age=86400; Domain=api.scaleapi.com;
42
+ Path=/; HttpOnly
43
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
44
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
45
+ X-Powered-By:
46
+ - Express
47
+ Access-Control-Allow-Origin:
48
+ - "*"
49
+ Access-Control-Allow-Methods:
50
+ - GET,PUT,POST,DELETE
51
+ Access-Control-Allow-Headers:
52
+ - Content-Type
53
+ Etag:
54
+ - W/"1af-hH9RmZqyYUwWkCDAAmTDNQ"
55
+ Vary:
56
+ - Accept-Encoding
57
+ Via:
58
+ - 1.1 vegur
59
+ Strict-Transport-Security:
60
+ - max-age=2592000; includeSubDomains; preload
61
+ X-Content-Type-Options:
62
+ - nosniff
63
+ Server:
64
+ - cloudflare-nginx
65
+ Cf-Ray:
66
+ - 2e580de34b7b08de-CDG
67
+ Content-Encoding:
68
+ - gzip
69
+ body:
70
+ encoding: ASCII-8BIT
71
+ string: !binary |-
72
+ H4sIAAAAAAAAAzTKMW7DMAwAwK8QXLo4tuIUQaMt6Bc6ZQlYia2E0JIg0nCD
73
+ fr7w0PVwvxg6k3G8k6HH2R3PB3c5zO5jdv508q+X0Z3fbjhgIJFPCo/72gU9
74
+ JrPmp2nbtpF/aGnCY6jL9L9wQHs2Ro8t1cI744BqZKvuyCXm8o0D5qLW12C5
75
+ FvT4TiJgKSs07loLUIlgLAILw868UBagGDurjnDVB+QvSPyikKi1J1itfwAA
76
+ AP//LI/LCsIwEEV/pdx1kPhIH9l1IfgHLkRC2kw12KaSpGCR/rs0djmXORzO
77
+ DgyTf5BrZ0gYPYPhrb0eAuQX7XO0LQXIGy6U2Y0D2y43xm25M3SWepOo5IXE
78
+ Ofnrvx8LA7lo46ycHtbYuqePdsZnV53qUrxy09CQh4TgQnCel7lYURtUpBAh
79
+ o5+IIerwUtasbwXtK3MwVSVORhxLztuCuqbD8gMAAP//AwB8PcyvrwEAAA==
80
+ http_version:
81
+ recorded_at: Tue, 20 Sep 2016 20:33:46 GMT
82
+ - request:
83
+ method: post
84
+ uri: https://api.scaleapi.com/v1/task/57e19d2d9954d53800c7efbf/cancel
85
+ body:
86
+ encoding: UTF-8
87
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
88
+ headers:
89
+ Accept:
90
+ - application/json
91
+ Accept-Encoding:
92
+ - gzip, deflate
93
+ User-Agent:
94
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
95
+ Content-Type:
96
+ - application/x-www-form-urlencoded
97
+ Content-Length:
98
+ - '52'
99
+ Host:
100
+ - api.scaleapi.com
101
+ Authorization:
102
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
103
+ response:
104
+ status:
105
+ code: 500
106
+ message: Internal Server Error
107
+ headers:
108
+ Date:
109
+ - Tue, 20 Sep 2016 20:33:49 GMT
110
+ Content-Type:
111
+ - application/json; charset=utf-8
112
+ Content-Length:
113
+ - '66'
114
+ Connection:
115
+ - keep-alive
116
+ Set-Cookie:
117
+ - __cfduid=db1a2f80028a3af817a9bd8330ccf0ab11474403629; expires=Wed, 20-Sep-17
118
+ 20:33:49 GMT; path=/; domain=.scaleapi.com; HttpOnly
119
+ - heroku-session-affinity=ACyDaANoA24IAVbhMdf///8HYgAGKK1iAA0OGmEBbAAAAAFtAAAABXdlYi4xajrRD26eXZ5r7jUOQCTI6mrx4qP7;
120
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:49 GMT; Max-Age=86400; Domain=api.scaleapi.com;
121
+ Path=/; HttpOnly
122
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
123
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
124
+ X-Powered-By:
125
+ - Express
126
+ Access-Control-Allow-Origin:
127
+ - "*"
128
+ Access-Control-Allow-Methods:
129
+ - GET,PUT,POST,DELETE
130
+ Access-Control-Allow-Headers:
131
+ - Content-Type
132
+ Etag:
133
+ - W/"42-+FzgKDURClpieXRtAvqOKQ"
134
+ Vary:
135
+ - Accept-Encoding
136
+ Via:
137
+ - 1.1 vegur
138
+ Strict-Transport-Security:
139
+ - max-age=2592000; includeSubDomains; preload
140
+ X-Content-Type-Options:
141
+ - nosniff
142
+ Server:
143
+ - cloudflare-nginx
144
+ Cf-Ray:
145
+ - 2e580dfc781b08fc-CDG
146
+ body:
147
+ encoding: UTF-8
148
+ string: '{"error":"The task was already completed and cannot be canceled."}'
149
+ http_version:
150
+ recorded_at: Tue, 20 Sep 2016 20:33:46 GMT
151
+ - request:
152
+ method: post
153
+ uri: https://api.scaleapi.com/v1/task/annotation
154
+ body:
155
+ encoding: UTF-8
156
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Draw+a+box+around+each+baby+cow+and+big+cow.&attachment_type=image&attachment=http%3A%2F%2Fi.imgur.com%2Fv4cBreD.jpg&objects_to_annotate[]=baby+cow&objects_to_annotate[]=big+cow&with_labels=true
157
+ headers:
158
+ Accept:
159
+ - application/json
160
+ Accept-Encoding:
161
+ - gzip, deflate
162
+ User-Agent:
163
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
164
+ Content-Type:
165
+ - application/x-www-form-urlencoded
166
+ Content-Length:
167
+ - '259'
168
+ Host:
169
+ - api.scaleapi.com
170
+ Authorization:
171
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
172
+ response:
173
+ status:
174
+ code: 200
175
+ message: OK
176
+ headers:
177
+ Date:
178
+ - Tue, 20 Sep 2016 20:33:50 GMT
179
+ Content-Type:
180
+ - application/json; charset=utf-8
181
+ Transfer-Encoding:
182
+ - chunked
183
+ Connection:
184
+ - keep-alive
185
+ Set-Cookie:
186
+ - __cfduid=d7ade39dd8f459bfc5b17c73797b1802f1474403630; expires=Wed, 20-Sep-17
187
+ 20:33:50 GMT; path=/; domain=.scaleapi.com; HttpOnly
188
+ - heroku-session-affinity=ACyDaANoA24IAVGVENb///8HYgAGKK5iAAgxvWEBbAAAAAFtAAAABXdlYi4xavrPKty01xSdjP0+z1i+1FzeJaqB;
189
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:50 GMT; Max-Age=86400; Domain=api.scaleapi.com;
190
+ Path=/; HttpOnly
191
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
192
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
193
+ X-Powered-By:
194
+ - Express
195
+ Access-Control-Allow-Origin:
196
+ - "*"
197
+ Access-Control-Allow-Methods:
198
+ - GET,PUT,POST,DELETE
199
+ Access-Control-Allow-Headers:
200
+ - Content-Type
201
+ Etag:
202
+ - W/"195-QWENveudsuqS93GdxosWgA"
203
+ Vary:
204
+ - Accept-Encoding
205
+ Via:
206
+ - 1.1 vegur
207
+ Strict-Transport-Security:
208
+ - max-age=2592000; includeSubDomains; preload
209
+ X-Content-Type-Options:
210
+ - nosniff
211
+ Server:
212
+ - cloudflare-nginx
213
+ Cf-Ray:
214
+ - 2e580e00e9141515-CDG
215
+ Content-Encoding:
216
+ - gzip
217
+ body:
218
+ encoding: ASCII-8BIT
219
+ string: !binary |-
220
+ H4sIAAAAAAAAA0xQS26DMBS8ijVrhxAIbfGyyhG6alWhh3kFJ2CQ/ShBUe5e
221
+ NUrU7kaaj2bmAhuYhJuKBAZZunvapOUmS9+y1OS5KdKkyMt3aFjq+5rsqZpD
222
+ D4NOZDLb7bIsCZ9pmHpO7DhsHypoyDoxDMj7UUjc6KERhWSOMJjYN8630JhD
223
+ y96uMGhohYbzUcJsbwaDQ6BFkarHs6Iwzr5RTLZTNdWrsuOiyDeqdu0vTqAx
224
+ UaAhwlywOOmqnmruI4yEmTXG+shWYiVjdS/FMB94ZEHjnoRPDRIh2w3spboP
225
+ cQO1jP/M3w0ucUM7h9sF33v7GviQHKcWVw0XK+EojxJC8VS5BgbFM+/KJuOy
226
+ LPZNkb+kqX3mL7vD9QcAAP//AwCENVttlQEAAA==
227
+ http_version:
228
+ recorded_at: Tue, 20 Sep 2016 20:33:47 GMT
229
+ - request:
230
+ method: post
231
+ uri: https://api.scaleapi.com/v1/task/annotation
232
+ body:
233
+ encoding: UTF-8
234
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
235
+ headers:
236
+ Accept:
237
+ - application/json
238
+ Accept-Encoding:
239
+ - gzip, deflate
240
+ User-Agent:
241
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
242
+ Content-Type:
243
+ - application/x-www-form-urlencoded
244
+ Content-Length:
245
+ - '52'
246
+ Host:
247
+ - api.scaleapi.com
248
+ Authorization:
249
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
250
+ response:
251
+ status:
252
+ code: 400
253
+ message: Bad Request
254
+ headers:
255
+ Date:
256
+ - Tue, 20 Sep 2016 20:33:51 GMT
257
+ Content-Type:
258
+ - application/json; charset=utf-8
259
+ Content-Length:
260
+ - '110'
261
+ Connection:
262
+ - keep-alive
263
+ Set-Cookie:
264
+ - __cfduid=d61efbc4debd32d1ae2dc029f60bd0b1c1474403630; expires=Wed, 20-Sep-17
265
+ 20:33:50 GMT; path=/; domain=.scaleapi.com; HttpOnly
266
+ - heroku-session-affinity=ACyDaANoA24IAVS0e9X///8HYgAGKK9iAAYQl2EBbAAAAAFtAAAABXdlYi4xagKnd9cFekxkVCSTgMSVXPV8IcEu;
267
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:51 GMT; Max-Age=86400; Domain=api.scaleapi.com;
268
+ Path=/; HttpOnly
269
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
270
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
271
+ X-Powered-By:
272
+ - Express
273
+ Access-Control-Allow-Origin:
274
+ - "*"
275
+ Access-Control-Allow-Methods:
276
+ - GET,PUT,POST,DELETE
277
+ Access-Control-Allow-Headers:
278
+ - Content-Type
279
+ Etag:
280
+ - W/"6e-3CVLHbmZIEWFI2BiZeBrFQ"
281
+ Vary:
282
+ - Accept-Encoding
283
+ Via:
284
+ - 1.1 vegur
285
+ Strict-Transport-Security:
286
+ - max-age=2592000; includeSubDomains; preload
287
+ X-Content-Type-Options:
288
+ - nosniff
289
+ Server:
290
+ - cloudflare-nginx
291
+ Cf-Ray:
292
+ - 2e580e053da22f2f-MAD
293
+ body:
294
+ encoding: UTF-8
295
+ string: '{"status_code":400,"message":"Please provide a plaintext instruction
296
+ to the worker in the instruction field."}'
297
+ http_version:
298
+ recorded_at: Tue, 20 Sep 2016 20:33:48 GMT
299
+ - request:
300
+ method: post
301
+ uri: https://api.scaleapi.com/v1/task/annotation
302
+ body:
303
+ encoding: UTF-8
304
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
305
+ headers:
306
+ Accept:
307
+ - application/json
308
+ Accept-Encoding:
309
+ - gzip, deflate
310
+ User-Agent:
311
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
312
+ Content-Type:
313
+ - application/x-www-form-urlencoded
314
+ Content-Length:
315
+ - '52'
316
+ Host:
317
+ - api.scaleapi.com
318
+ Authorization:
319
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
320
+ response:
321
+ status:
322
+ code: 400
323
+ message: Bad Request
324
+ headers:
325
+ Date:
326
+ - Tue, 20 Sep 2016 20:33:55 GMT
327
+ Content-Type:
328
+ - application/json; charset=utf-8
329
+ Content-Length:
330
+ - '110'
331
+ Connection:
332
+ - keep-alive
333
+ Set-Cookie:
334
+ - __cfduid=d2fd46ddf206410e3703fe2e7ab42a7f11474403631; expires=Wed, 20-Sep-17
335
+ 20:33:51 GMT; path=/; domain=.scaleapi.com; HttpOnly
336
+ - heroku-session-affinity=ACyDaANoA24IARMYfNT///8HYgAGKLBiAABtDWEBbAAAAAFtAAAABXdlYi4xajOP5NIpkn5pBxbu55vIQfrsKF22;
337
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:52 GMT; Max-Age=86400; Domain=api.scaleapi.com;
338
+ Path=/; HttpOnly
339
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
340
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
341
+ X-Powered-By:
342
+ - Express
343
+ Access-Control-Allow-Origin:
344
+ - "*"
345
+ Access-Control-Allow-Methods:
346
+ - GET,PUT,POST,DELETE
347
+ Access-Control-Allow-Headers:
348
+ - Content-Type
349
+ Etag:
350
+ - W/"6e-3CVLHbmZIEWFI2BiZeBrFQ"
351
+ Vary:
352
+ - Accept-Encoding
353
+ Via:
354
+ - 1.1 vegur
355
+ Strict-Transport-Security:
356
+ - max-age=2592000; includeSubDomains; preload
357
+ X-Content-Type-Options:
358
+ - nosniff
359
+ Server:
360
+ - cloudflare-nginx
361
+ Cf-Ray:
362
+ - 2e580e09fe023bd5-CDG
363
+ body:
364
+ encoding: UTF-8
365
+ string: '{"status_code":400,"message":"Please provide a plaintext instruction
366
+ to the worker in the instruction field."}'
367
+ http_version:
368
+ recorded_at: Tue, 20 Sep 2016 20:33:52 GMT
369
+ - request:
370
+ method: post
371
+ uri: https://api.scaleapi.com/v1/task/comparison
372
+ body:
373
+ encoding: UTF-8
374
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Do+the+objects+in+these+images+have+the+same+pattern%3F&attachment_type=image&choices[]=yes&choices[]=no&attachments[]=http%3A%2F%2Fi.ebayimg.com%2F00%2F%24T2eC16dHJGwFFZKjy5ZjBRfNyMC4Ig%7E%7E_32.JPG&attachments[]=http%3A%2F%2Fimages.wisegeek.com%2Fcheckered-tablecloth.jpg
375
+ headers:
376
+ Accept:
377
+ - application/json
378
+ Accept-Encoding:
379
+ - gzip, deflate
380
+ User-Agent:
381
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
382
+ Content-Type:
383
+ - application/x-www-form-urlencoded
384
+ Content-Length:
385
+ - '338'
386
+ Host:
387
+ - api.scaleapi.com
388
+ Authorization:
389
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
390
+ response:
391
+ status:
392
+ code: 200
393
+ message: OK
394
+ headers:
395
+ Date:
396
+ - Tue, 20 Sep 2016 20:33:56 GMT
397
+ Content-Type:
398
+ - application/json; charset=utf-8
399
+ Transfer-Encoding:
400
+ - chunked
401
+ Connection:
402
+ - keep-alive
403
+ Set-Cookie:
404
+ - __cfduid=d260c8fd1dd0df662a046032bf5ce27721474403635; expires=Wed, 20-Sep-17
405
+ 20:33:55 GMT; path=/; domain=.scaleapi.com; HttpOnly
406
+ - heroku-session-affinity=ACyDaANoA24IAXNI+NX///8HYgAGKLRiAAQNemEBbAAAAAFtAAAABXdlYi4xapCNW+lh7MNaS0BGz1rKEj9DyDuH;
407
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:56 GMT; Max-Age=86400; Domain=api.scaleapi.com;
408
+ Path=/; HttpOnly
409
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
410
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
411
+ X-Powered-By:
412
+ - Express
413
+ Access-Control-Allow-Origin:
414
+ - "*"
415
+ Access-Control-Allow-Methods:
416
+ - GET,PUT,POST,DELETE
417
+ Access-Control-Allow-Headers:
418
+ - Content-Type
419
+ Etag:
420
+ - W/"1d0-YcFKk+sZki5BVcoQ4NJTag"
421
+ Vary:
422
+ - Accept-Encoding
423
+ Via:
424
+ - 1.1 vegur
425
+ Strict-Transport-Security:
426
+ - max-age=2592000; includeSubDomains; preload
427
+ X-Content-Type-Options:
428
+ - nosniff
429
+ Server:
430
+ - cloudflare-nginx
431
+ Cf-Ray:
432
+ - 2e580e21ee1e048b-CDG
433
+ Content-Encoding:
434
+ - gzip
435
+ body:
436
+ encoding: ASCII-8BIT
437
+ string: !binary |-
438
+ H4sIAAAAAAAAA0xQTW/TQBT8K9aI48Zx7Dghe0GiqIUiEKp6Cqqsl/WrvYm9
439
+ a+0+Y6yq/e0IUxDH0XxoZp5gApNwXZFAI882u1V2WOXZfZ7potDlLs332yMU
440
+ DHXdicylGkMHjVZk0Ov1NE0p/6R+6Dg1vl//VUFB5oGhYXw/ULDROyhEIRkj
441
+ NAZ2tXUNFMbQsDMzNGqaoWBdlDAasd5B44NPpOXEn85sJCbW/YaRE9tTwzFp
442
+ 6Qcvgkg9JwOJcHDvoDBQoD5CP8G03hqO0N8xc4SC83hQIBEybc9OqteiSyT+
443
+ ZxbT61Cb8olm2zfLzCxbv7nP+Wqzqz/e3kzX18fP57k8nt/fPX6dv1xtPzUv
444
+ L1WRp7ffbqD+RSyd08lGbpgvf/5q2Vw4cL0SOnVsOi9teh4aPDwr2FgJR4GW
445
+ MLKCULxUtoZGuefNoS62h0O5rcvibZaZPT+aHM+/AAAA//8DAG0OqgzQAQAA
446
+ http_version:
447
+ recorded_at: Tue, 20 Sep 2016 20:33:53 GMT
448
+ - request:
449
+ method: post
450
+ uri: https://api.scaleapi.com/v1/task/comparison
451
+ body:
452
+ encoding: UTF-8
453
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
454
+ headers:
455
+ Accept:
456
+ - application/json
457
+ Accept-Encoding:
458
+ - gzip, deflate
459
+ User-Agent:
460
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
461
+ Content-Type:
462
+ - application/x-www-form-urlencoded
463
+ Content-Length:
464
+ - '105'
465
+ Host:
466
+ - api.scaleapi.com
467
+ Authorization:
468
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
469
+ response:
470
+ status:
471
+ code: 400
472
+ message: Bad Request
473
+ headers:
474
+ Date:
475
+ - Tue, 20 Sep 2016 20:33:56 GMT
476
+ Content-Type:
477
+ - application/json; charset=utf-8
478
+ Content-Length:
479
+ - '98'
480
+ Connection:
481
+ - keep-alive
482
+ Set-Cookie:
483
+ - __cfduid=d4c7f6f9a59a988f8729d5a330d64c1611474403636; expires=Wed, 20-Sep-17
484
+ 20:33:56 GMT; path=/; domain=.scaleapi.com; HttpOnly
485
+ - heroku-session-affinity=ACyDaANoA24IARf1mO////8HYgAGKLRiAA5e/GEBbAAAAAFtAAAABXdlYi4xaql8XjExiaNOIwIpyKwv2tIQ77wQ;
486
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:56 GMT; Max-Age=86400; Domain=api.scaleapi.com;
487
+ Path=/; HttpOnly
488
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
489
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
490
+ X-Powered-By:
491
+ - Express
492
+ Access-Control-Allow-Origin:
493
+ - "*"
494
+ Access-Control-Allow-Methods:
495
+ - GET,PUT,POST,DELETE
496
+ Access-Control-Allow-Headers:
497
+ - Content-Type
498
+ Etag:
499
+ - W/"62-7Rkh4lSqRHmEsijDGLdcoQ"
500
+ Vary:
501
+ - Accept-Encoding
502
+ Via:
503
+ - 1.1 vegur
504
+ Strict-Transport-Security:
505
+ - max-age=2592000; includeSubDomains; preload
506
+ X-Content-Type-Options:
507
+ - nosniff
508
+ Server:
509
+ - cloudflare-nginx
510
+ Cf-Ray:
511
+ - 2e580e28dd823c41-CDG
512
+ body:
513
+ encoding: UTF-8
514
+ string: '{"status_code":400,"message":"Please provide attachments for the worker
515
+ to compare for the task."}'
516
+ http_version:
517
+ recorded_at: Tue, 20 Sep 2016 20:33:54 GMT
518
+ - request:
519
+ method: post
520
+ uri: https://api.scaleapi.com/v1/task/comparison
521
+ body:
522
+ encoding: UTF-8
523
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
524
+ headers:
525
+ Accept:
526
+ - application/json
527
+ Accept-Encoding:
528
+ - gzip, deflate
529
+ User-Agent:
530
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
531
+ Content-Type:
532
+ - application/x-www-form-urlencoded
533
+ Content-Length:
534
+ - '105'
535
+ Host:
536
+ - api.scaleapi.com
537
+ Authorization:
538
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
539
+ response:
540
+ status:
541
+ code: 400
542
+ message: Bad Request
543
+ headers:
544
+ Date:
545
+ - Tue, 20 Sep 2016 20:33:57 GMT
546
+ Content-Type:
547
+ - application/json; charset=utf-8
548
+ Content-Length:
549
+ - '98'
550
+ Connection:
551
+ - keep-alive
552
+ Set-Cookie:
553
+ - __cfduid=d704d0849fcab06108ea278d34eef93a21474403637; expires=Wed, 20-Sep-17
554
+ 20:33:57 GMT; path=/; domain=.scaleapi.com; HttpOnly
555
+ - heroku-session-affinity=ACyDaANoA24IAXIzrNX///8HYgAGKLViAAkSaGEBbAAAAAFtAAAABXdlYi4xalL5kAHnzxzEkCHfi2Cg7Z5aEn7o;
556
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:57 GMT; Max-Age=86400; Domain=api.scaleapi.com;
557
+ Path=/; HttpOnly
558
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
559
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
560
+ X-Powered-By:
561
+ - Express
562
+ Access-Control-Allow-Origin:
563
+ - "*"
564
+ Access-Control-Allow-Methods:
565
+ - GET,PUT,POST,DELETE
566
+ Access-Control-Allow-Headers:
567
+ - Content-Type
568
+ Etag:
569
+ - W/"62-7Rkh4lSqRHmEsijDGLdcoQ"
570
+ Vary:
571
+ - Accept-Encoding
572
+ Via:
573
+ - 1.1 vegur
574
+ Strict-Transport-Security:
575
+ - max-age=2592000; includeSubDomains; preload
576
+ X-Content-Type-Options:
577
+ - nosniff
578
+ Server:
579
+ - cloudflare-nginx
580
+ Cf-Ray:
581
+ - 2e580e2cab835486-MAD
582
+ body:
583
+ encoding: UTF-8
584
+ string: '{"status_code":400,"message":"Please provide attachments for the worker
585
+ to compare for the task."}'
586
+ http_version:
587
+ recorded_at: Tue, 20 Sep 2016 20:33:54 GMT
588
+ - request:
589
+ method: post
590
+ uri: https://api.scaleapi.com/v1/task/categorize
591
+ body:
592
+ encoding: UTF-8
593
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Is+this+company+public+or+private%3F&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&categories[]=public&categories[]=private&allow_multiple=false
594
+ headers:
595
+ Accept:
596
+ - application/json
597
+ Accept-Encoding:
598
+ - gzip, deflate
599
+ User-Agent:
600
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
601
+ Content-Type:
602
+ - application/x-www-form-urlencoded
603
+ Content-Length:
604
+ - '229'
605
+ Host:
606
+ - api.scaleapi.com
607
+ Authorization:
608
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
609
+ response:
610
+ status:
611
+ code: 200
612
+ message: OK
613
+ headers:
614
+ Date:
615
+ - Tue, 20 Sep 2016 20:33:58 GMT
616
+ Content-Type:
617
+ - application/json; charset=utf-8
618
+ Transfer-Encoding:
619
+ - chunked
620
+ Connection:
621
+ - keep-alive
622
+ Set-Cookie:
623
+ - __cfduid=df9390c895cc9c5676837e8e9d2f2ade81474403638; expires=Wed, 20-Sep-17
624
+ 20:33:58 GMT; path=/; domain=.scaleapi.com; HttpOnly
625
+ - heroku-session-affinity=ACyDaANoA24IAZSN8dX///8HYgAGKLZiAAUBsWEBbAAAAAFtAAAABXdlYi4xaqqt+yIuhJh+sdoHTha9gP6gkSt8;
626
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:58 GMT; Max-Age=86400; Domain=api.scaleapi.com;
627
+ Path=/; HttpOnly
628
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
629
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
630
+ X-Powered-By:
631
+ - Express
632
+ Access-Control-Allow-Origin:
633
+ - "*"
634
+ Access-Control-Allow-Methods:
635
+ - GET,PUT,POST,DELETE
636
+ Access-Control-Allow-Headers:
637
+ - Content-Type
638
+ Etag:
639
+ - W/"182-7rfGqv70s8pufS+gO1e4WA"
640
+ Vary:
641
+ - Accept-Encoding
642
+ Via:
643
+ - 1.1 vegur
644
+ Strict-Transport-Security:
645
+ - max-age=2592000; includeSubDomains; preload
646
+ X-Content-Type-Options:
647
+ - nosniff
648
+ Server:
649
+ - cloudflare-nginx
650
+ Cf-Ray:
651
+ - 2e580e319b753c6b-CDG
652
+ Content-Encoding:
653
+ - gzip
654
+ body:
655
+ encoding: ASCII-8BIT
656
+ string: !binary |-
657
+ H4sIAAAAAAAAAzTKsW7CMBAG4Fex/tkkIREIbuncvVMXdDinYOHYln1umvLy
658
+ lSr1m78XXBFWmW+sIIzD8XwYrodx+BgHmiY6XbrpePmEheMQ7uyet1YCCA/V
659
+ TH2/bVsn37zmIJ1La/+/YKF7FhAcqyyp+B9WnyIsqrK2CkKWOPu4wMLHqqW5
660
+ v0B4r0YfvhqX1sxxN7ndg3cmFZOL/2KVN1i0skh0Owgz77DIXHitoBd+AQAA
661
+ //9MkEEOwiAURO8yaxY1WCtcxRhC4bcSqRj/b7rq3Q2hi+5nJu+Nz7lsblmz
662
+ pG8m2MlnpsrfOIhhH2ibtdcm8VTwIj68FvrUJ05+cynzoYdzyh2GG42chLAr
663
+ JHZCLLDyW0lBPL9dirDoB7qYqG/G9NfY63vXhYGmoLH/AQAA//8DAGCWYbiC
664
+ AQAA
665
+ http_version:
666
+ recorded_at: Tue, 20 Sep 2016 20:33:55 GMT
667
+ - request:
668
+ method: post
669
+ uri: https://api.scaleapi.com/v1/task/categorize
670
+ body:
671
+ encoding: UTF-8
672
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
673
+ headers:
674
+ Accept:
675
+ - application/json
676
+ Accept-Encoding:
677
+ - gzip, deflate
678
+ User-Agent:
679
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
680
+ Content-Type:
681
+ - application/x-www-form-urlencoded
682
+ Content-Length:
683
+ - '81'
684
+ Host:
685
+ - api.scaleapi.com
686
+ Authorization:
687
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
688
+ response:
689
+ status:
690
+ code: 400
691
+ message: Bad Request
692
+ headers:
693
+ Date:
694
+ - Tue, 20 Sep 2016 20:33:59 GMT
695
+ Content-Type:
696
+ - application/json; charset=utf-8
697
+ Content-Length:
698
+ - '83'
699
+ Connection:
700
+ - keep-alive
701
+ Set-Cookie:
702
+ - __cfduid=dea75509992f47f89dadaac598c9918281474403638; expires=Wed, 20-Sep-17
703
+ 20:33:58 GMT; path=/; domain=.scaleapi.com; HttpOnly
704
+ - heroku-session-affinity=ACyDaANoA24IAZPSNdT///8HYgAGKLdiAACRUmEBbAAAAAFtAAAABXdlYi4xahyLlE9YoQ3WApdZqxVOAQJr4MXP;
705
+ Version=1; Expires=Wed, 21-Sep-2016 20:33:59 GMT; Max-Age=86400; Domain=api.scaleapi.com;
706
+ Path=/; HttpOnly
707
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
708
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
709
+ X-Powered-By:
710
+ - Express
711
+ Access-Control-Allow-Origin:
712
+ - "*"
713
+ Access-Control-Allow-Methods:
714
+ - GET,PUT,POST,DELETE
715
+ Access-Control-Allow-Headers:
716
+ - Content-Type
717
+ Etag:
718
+ - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
719
+ Vary:
720
+ - Accept-Encoding
721
+ Via:
722
+ - 1.1 vegur
723
+ Strict-Transport-Security:
724
+ - max-age=2592000; includeSubDomains; preload
725
+ X-Content-Type-Options:
726
+ - nosniff
727
+ Server:
728
+ - cloudflare-nginx
729
+ Cf-Ray:
730
+ - 2e580e35cbb714c7-CDG
731
+ body:
732
+ encoding: UTF-8
733
+ string: '{"status_code":400,"message":"Please provide an attachment as a URL
734
+ or plaintext."}'
735
+ http_version:
736
+ recorded_at: Tue, 20 Sep 2016 20:33:56 GMT
737
+ - request:
738
+ method: post
739
+ uri: https://api.scaleapi.com/v1/task/categorize
740
+ body:
741
+ encoding: UTF-8
742
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
743
+ headers:
744
+ Accept:
745
+ - application/json
746
+ Accept-Encoding:
747
+ - gzip, deflate
748
+ User-Agent:
749
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
750
+ Content-Type:
751
+ - application/x-www-form-urlencoded
752
+ Content-Length:
753
+ - '81'
754
+ Host:
755
+ - api.scaleapi.com
756
+ Authorization:
757
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
758
+ response:
759
+ status:
760
+ code: 400
761
+ message: Bad Request
762
+ headers:
763
+ Date:
764
+ - Tue, 20 Sep 2016 20:34:00 GMT
765
+ Content-Type:
766
+ - application/json; charset=utf-8
767
+ Content-Length:
768
+ - '83'
769
+ Connection:
770
+ - keep-alive
771
+ Set-Cookie:
772
+ - __cfduid=d6fdbce59f6495a1eba6fad95d45be71a1474403639; expires=Wed, 20-Sep-17
773
+ 20:33:59 GMT; path=/; domain=.scaleapi.com; HttpOnly
774
+ - heroku-session-affinity=ACyDaANoA24IAdEwidT///8HYgAGKLhiAA1S+2EBbAAAAAFtAAAABXdlYi4xakoFKdhF4wfNDVvW4QSVZTFjXBlZ;
775
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:00 GMT; Max-Age=86400; Domain=api.scaleapi.com;
776
+ Path=/; HttpOnly
777
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
778
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
779
+ X-Powered-By:
780
+ - Express
781
+ Access-Control-Allow-Origin:
782
+ - "*"
783
+ Access-Control-Allow-Methods:
784
+ - GET,PUT,POST,DELETE
785
+ Access-Control-Allow-Headers:
786
+ - Content-Type
787
+ Etag:
788
+ - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
789
+ Vary:
790
+ - Accept-Encoding
791
+ Via:
792
+ - 1.1 vegur
793
+ Strict-Transport-Security:
794
+ - max-age=2592000; includeSubDomains; preload
795
+ X-Content-Type-Options:
796
+ - nosniff
797
+ Server:
798
+ - cloudflare-nginx
799
+ Cf-Ray:
800
+ - 2e580e3b1f153c41-CDG
801
+ body:
802
+ encoding: UTF-8
803
+ string: '{"status_code":400,"message":"Please provide an attachment as a URL
804
+ or plaintext."}'
805
+ http_version:
806
+ recorded_at: Tue, 20 Sep 2016 20:33:57 GMT
807
+ - request:
808
+ method: post
809
+ uri: https://api.scaleapi.com/v1/task/phonecall
810
+ body:
811
+ encoding: UTF-8
812
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
813
+ headers:
814
+ Accept:
815
+ - application/json
816
+ Accept-Encoding:
817
+ - gzip, deflate
818
+ User-Agent:
819
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
820
+ Content-Type:
821
+ - application/x-www-form-urlencoded
822
+ Content-Length:
823
+ - '105'
824
+ Host:
825
+ - api.scaleapi.com
826
+ Authorization:
827
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
828
+ response:
829
+ status:
830
+ code: 400
831
+ message: Bad Request
832
+ headers:
833
+ Date:
834
+ - Tue, 20 Sep 2016 20:34:01 GMT
835
+ Content-Type:
836
+ - application/json; charset=utf-8
837
+ Content-Length:
838
+ - '139'
839
+ Connection:
840
+ - keep-alive
841
+ Set-Cookie:
842
+ - __cfduid=d631b24c6d307983b11ef716aa9f6ab591474403641; expires=Wed, 20-Sep-17
843
+ 20:34:01 GMT; path=/; domain=.scaleapi.com; HttpOnly
844
+ - heroku-session-affinity=ACyDaANoA24IATbwaNX///8HYgAGKLliAAojumEBbAAAAAFtAAAABXdlYi4xanU7phq0Sa+s89lA1M1JwgqTjQJm;
845
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:01 GMT; Max-Age=86400; Domain=api.scaleapi.com;
846
+ Path=/; HttpOnly
847
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
848
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
849
+ X-Powered-By:
850
+ - Express
851
+ Access-Control-Allow-Origin:
852
+ - "*"
853
+ Access-Control-Allow-Methods:
854
+ - GET,PUT,POST,DELETE
855
+ Access-Control-Allow-Headers:
856
+ - Content-Type
857
+ Etag:
858
+ - W/"8b-zQ6NnbRJTI0Jh3djmaV6PA"
859
+ Vary:
860
+ - Accept-Encoding
861
+ Via:
862
+ - 1.1 vegur
863
+ Strict-Transport-Security:
864
+ - max-age=2592000; includeSubDomains; preload
865
+ X-Content-Type-Options:
866
+ - nosniff
867
+ Server:
868
+ - cloudflare-nginx
869
+ Cf-Ray:
870
+ - 2e580e464b97151b-CDG
871
+ body:
872
+ encoding: UTF-8
873
+ string: '{"status_code":400,"message":"Please provide an entity name (name,
874
+ business name, etc.) corresponding to the phone number for the worker."}'
875
+ http_version:
876
+ recorded_at: Tue, 20 Sep 2016 20:33:58 GMT
877
+ - request:
878
+ method: post
879
+ uri: https://api.scaleapi.com/v1/task/phonecall
880
+ body:
881
+ encoding: UTF-8
882
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
883
+ headers:
884
+ Accept:
885
+ - application/json
886
+ Accept-Encoding:
887
+ - gzip, deflate
888
+ User-Agent:
889
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
890
+ Content-Type:
891
+ - application/x-www-form-urlencoded
892
+ Content-Length:
893
+ - '105'
894
+ Host:
895
+ - api.scaleapi.com
896
+ Authorization:
897
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
898
+ response:
899
+ status:
900
+ code: 400
901
+ message: Bad Request
902
+ headers:
903
+ Date:
904
+ - Tue, 20 Sep 2016 20:34:02 GMT
905
+ Content-Type:
906
+ - application/json; charset=utf-8
907
+ Content-Length:
908
+ - '139'
909
+ Connection:
910
+ - keep-alive
911
+ Set-Cookie:
912
+ - __cfduid=d292e3839d340be28c28dcd91ed81695e1474403641; expires=Wed, 20-Sep-17
913
+ 20:34:01 GMT; path=/; domain=.scaleapi.com; HttpOnly
914
+ - heroku-session-affinity=ACyDaANoA24IAZSqhtX///8HYgAGKLpiAAVowGEBbAAAAAFtAAAABXdlYi4xar54AB4YQDHgssd1h+5atSirXfRT;
915
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:02 GMT; Max-Age=86400; Domain=api.scaleapi.com;
916
+ Path=/; HttpOnly
917
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
918
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
919
+ X-Powered-By:
920
+ - Express
921
+ Access-Control-Allow-Origin:
922
+ - "*"
923
+ Access-Control-Allow-Methods:
924
+ - GET,PUT,POST,DELETE
925
+ Access-Control-Allow-Headers:
926
+ - Content-Type
927
+ Etag:
928
+ - W/"8b-zQ6NnbRJTI0Jh3djmaV6PA"
929
+ Vary:
930
+ - Accept-Encoding
931
+ Via:
932
+ - 1.1 vegur
933
+ Strict-Transport-Security:
934
+ - max-age=2592000; includeSubDomains; preload
935
+ X-Content-Type-Options:
936
+ - nosniff
937
+ Server:
938
+ - cloudflare-nginx
939
+ Cf-Ray:
940
+ - 2e580e4a3f962f89-MAD
941
+ body:
942
+ encoding: UTF-8
943
+ string: '{"status_code":400,"message":"Please provide an entity name (name,
944
+ business name, etc.) corresponding to the phone number for the worker."}'
945
+ http_version:
946
+ recorded_at: Tue, 20 Sep 2016 20:33:59 GMT
947
+ - request:
948
+ method: post
949
+ uri: https://api.scaleapi.com/v1/task/transcription
950
+ body:
951
+ encoding: UTF-8
952
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Transcribe+the+given+fields.+Then+for+each+news+item+on+the+page%2C+transcribe+the+information+for+the+row.&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&fields[title]=Title+of+Webpage&fields[top_result]=Title+of+the+top+result&row_fields[username]=Username+of+submitter&row_fields[comment_count]=Number+of+comments
953
+ headers:
954
+ Accept:
955
+ - application/json
956
+ Accept-Encoding:
957
+ - gzip, deflate
958
+ User-Agent:
959
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
960
+ Content-Type:
961
+ - application/x-www-form-urlencoded
962
+ Content-Length:
963
+ - '400'
964
+ Host:
965
+ - api.scaleapi.com
966
+ Authorization:
967
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
968
+ response:
969
+ status:
970
+ code: 200
971
+ message: OK
972
+ headers:
973
+ Date:
974
+ - Tue, 20 Sep 2016 20:34:03 GMT
975
+ Content-Type:
976
+ - application/json; charset=utf-8
977
+ Transfer-Encoding:
978
+ - chunked
979
+ Connection:
980
+ - keep-alive
981
+ Set-Cookie:
982
+ - __cfduid=d49468a562bcb198eb10ea912a30d4cb71474403642; expires=Wed, 20-Sep-17
983
+ 20:34:02 GMT; path=/; domain=.scaleapi.com; HttpOnly
984
+ - heroku-session-affinity=ACyDaANoA24IAfCdPNb///8HYgAGKLtiAADDWGEBbAAAAAFtAAAABXdlYi4xaqqWnESqUeMQzlCQpOtrJquXVQn2;
985
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:03 GMT; Max-Age=86400; Domain=api.scaleapi.com;
986
+ Path=/; HttpOnly
987
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
988
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
989
+ X-Powered-By:
990
+ - Express
991
+ Access-Control-Allow-Origin:
992
+ - "*"
993
+ Access-Control-Allow-Methods:
994
+ - GET,PUT,POST,DELETE
995
+ Access-Control-Allow-Headers:
996
+ - Content-Type
997
+ Etag:
998
+ - W/"233-Fqr7mJZxrb6NsbSbLRglKw"
999
+ Vary:
1000
+ - Accept-Encoding
1001
+ Via:
1002
+ - 1.1 vegur
1003
+ Strict-Transport-Security:
1004
+ - max-age=2592000; includeSubDomains; preload
1005
+ X-Content-Type-Options:
1006
+ - nosniff
1007
+ Server:
1008
+ - cloudflare-nginx
1009
+ Cf-Ray:
1010
+ - 2e580e4ebc2a548c-MAD
1011
+ Content-Encoding:
1012
+ - gzip
1013
+ body:
1014
+ encoding: ASCII-8BIT
1015
+ string: !binary |-
1016
+ H4sIAAAAAAAAA1SR207kMAyGXyX6r0OnzAGYPARXg1bipkpTTxvRHJQ4W0aI
1017
+ d1+lWwTcxfHnz3H8AZNIMw2dZijs2/uHu/Z8t28v+1Ydjqo9NO1p/woJo+e5
1018
+ 1+atK2mGwsQc1W63LEtD79rFmRoT3O6LggTfIkGBk/bZJBvZBg+JzJpLhkIk
1019
+ P1g/QsL6zKmYFVC4bAU9CZ5IjPYveXG1NA+5EZepBiEJ0mYSnpYsLJMTwa9w
1020
+ 1CNJwb8N1l9Dcrrq19J6l8LSQKKkkby5QWHQN0hEnbTLUB9IYen+N62RCc6R
1021
+ 586E4us/PRfXUxLhKrZMrrJMyWtXh37ZjpXIpXeWmRI+Jb6VHGKXKJe5+i6W
1022
+ 5xWub+MQxZaR4Jr5Sfyhvk5ZZZpZm6m2/72QMYRx2wd+Ut22koX6bHlV2Nwx
1023
+ ZYbiVEiCdX7r7ACF0yPdn4dDfz6fjsPp8NS25pGu5ojPfwAAAP//AwD9KRL9
1024
+ MwIAAA==
1025
+ http_version:
1026
+ recorded_at: Tue, 20 Sep 2016 20:34:00 GMT
1027
+ - request:
1028
+ method: post
1029
+ uri: https://api.scaleapi.com/v1/task/transcription
1030
+ body:
1031
+ encoding: UTF-8
1032
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
1033
+ headers:
1034
+ Accept:
1035
+ - application/json
1036
+ Accept-Encoding:
1037
+ - gzip, deflate
1038
+ User-Agent:
1039
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1040
+ Content-Type:
1041
+ - application/x-www-form-urlencoded
1042
+ Content-Length:
1043
+ - '105'
1044
+ Host:
1045
+ - api.scaleapi.com
1046
+ Authorization:
1047
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1048
+ response:
1049
+ status:
1050
+ code: 400
1051
+ message: Bad Request
1052
+ headers:
1053
+ Date:
1054
+ - Tue, 20 Sep 2016 20:34:03 GMT
1055
+ Content-Type:
1056
+ - application/json; charset=utf-8
1057
+ Content-Length:
1058
+ - '83'
1059
+ Connection:
1060
+ - keep-alive
1061
+ Set-Cookie:
1062
+ - __cfduid=daf329f1405a59d79f4ae45114c03af6d1474403643; expires=Wed, 20-Sep-17
1063
+ 20:34:03 GMT; path=/; domain=.scaleapi.com; HttpOnly
1064
+ - heroku-session-affinity=ACyDaANoA24IAbDINdb///8HYgAGKLtiAAtXSGEBbAAAAAFtAAAABXdlYi4xahxhyuN+iSzsh+O+yN1g7y5ThTJh;
1065
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:03 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1066
+ Path=/; HttpOnly
1067
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1068
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1069
+ X-Powered-By:
1070
+ - Express
1071
+ Access-Control-Allow-Origin:
1072
+ - "*"
1073
+ Access-Control-Allow-Methods:
1074
+ - GET,PUT,POST,DELETE
1075
+ Access-Control-Allow-Headers:
1076
+ - Content-Type
1077
+ Etag:
1078
+ - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
1079
+ Vary:
1080
+ - Accept-Encoding
1081
+ Via:
1082
+ - 1.1 vegur
1083
+ Strict-Transport-Security:
1084
+ - max-age=2592000; includeSubDomains; preload
1085
+ X-Content-Type-Options:
1086
+ - nosniff
1087
+ Server:
1088
+ - cloudflare-nginx
1089
+ Cf-Ray:
1090
+ - 2e580e533b2a3c29-CDG
1091
+ body:
1092
+ encoding: UTF-8
1093
+ string: '{"status_code":400,"message":"Please provide an attachment as a URL
1094
+ or plaintext."}'
1095
+ http_version:
1096
+ recorded_at: Tue, 20 Sep 2016 20:34:00 GMT
1097
+ - request:
1098
+ method: post
1099
+ uri: https://api.scaleapi.com/v1/task/transcription
1100
+ body:
1101
+ encoding: UTF-8
1102
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
1103
+ headers:
1104
+ Accept:
1105
+ - application/json
1106
+ Accept-Encoding:
1107
+ - gzip, deflate
1108
+ User-Agent:
1109
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1110
+ Content-Type:
1111
+ - application/x-www-form-urlencoded
1112
+ Content-Length:
1113
+ - '105'
1114
+ Host:
1115
+ - api.scaleapi.com
1116
+ Authorization:
1117
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1118
+ response:
1119
+ status:
1120
+ code: 400
1121
+ message: Bad Request
1122
+ headers:
1123
+ Date:
1124
+ - Tue, 20 Sep 2016 20:34:04 GMT
1125
+ Content-Type:
1126
+ - application/json; charset=utf-8
1127
+ Content-Length:
1128
+ - '83'
1129
+ Connection:
1130
+ - keep-alive
1131
+ Set-Cookie:
1132
+ - __cfduid=d67d57506aecd7872ca5998dba74b4f451474403644; expires=Wed, 20-Sep-17
1133
+ 20:34:04 GMT; path=/; domain=.scaleapi.com; HttpOnly
1134
+ - heroku-session-affinity=ACyDaANoA24IAZEr59b///8HYgAGKLxiAAcdKWEBbAAAAAFtAAAABXdlYi4xahtd5KW0atQe1zM9QhgKyzxLT/+s;
1135
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:04 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1136
+ Path=/; HttpOnly
1137
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1138
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1139
+ X-Powered-By:
1140
+ - Express
1141
+ Access-Control-Allow-Origin:
1142
+ - "*"
1143
+ Access-Control-Allow-Methods:
1144
+ - GET,PUT,POST,DELETE
1145
+ Access-Control-Allow-Headers:
1146
+ - Content-Type
1147
+ Etag:
1148
+ - W/"53-khmMBM4jK5ggWU2Rp5DM/g"
1149
+ Vary:
1150
+ - Accept-Encoding
1151
+ Via:
1152
+ - 1.1 vegur
1153
+ Strict-Transport-Security:
1154
+ - max-age=2592000; includeSubDomains; preload
1155
+ X-Content-Type-Options:
1156
+ - nosniff
1157
+ Server:
1158
+ - cloudflare-nginx
1159
+ Cf-Ray:
1160
+ - 2e580e57a8fb3c23-CDG
1161
+ body:
1162
+ encoding: UTF-8
1163
+ string: '{"status_code":400,"message":"Please provide an attachment as a URL
1164
+ or plaintext."}'
1165
+ http_version:
1166
+ recorded_at: Tue, 20 Sep 2016 20:34:01 GMT
1167
+ - request:
1168
+ method: get
1169
+ uri: https://api.scaleapi.com/v1/tasks
1170
+ body:
1171
+ encoding: UTF-8
1172
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1173
+ headers:
1174
+ Accept:
1175
+ - application/json
1176
+ Accept-Encoding:
1177
+ - gzip, deflate
1178
+ User-Agent:
1179
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1180
+ Content-Type:
1181
+ - application/x-www-form-urlencoded
1182
+ Content-Length:
1183
+ - '52'
1184
+ Host:
1185
+ - api.scaleapi.com
1186
+ Authorization:
1187
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1188
+ response:
1189
+ status:
1190
+ code: 200
1191
+ message: OK
1192
+ headers:
1193
+ Date:
1194
+ - Tue, 20 Sep 2016 20:34:07 GMT
1195
+ Content-Type:
1196
+ - application/json; charset=utf-8
1197
+ Transfer-Encoding:
1198
+ - chunked
1199
+ Connection:
1200
+ - keep-alive
1201
+ Set-Cookie:
1202
+ - __cfduid=dbc486858179b67f1ccdcdc3e67084f801474403644; expires=Wed, 20-Sep-17
1203
+ 20:34:04 GMT; path=/; domain=.scaleapi.com; HttpOnly
1204
+ - heroku-session-affinity=ACyDaANoA24IAdmhetX///8HYgAGKL9iAAahP2EBbAAAAAFtAAAABXdlYi4xapKUHmUTf7tkggHZVN3z4Y4IPCcX;
1205
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:07 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1206
+ Path=/; HttpOnly
1207
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1208
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1209
+ X-Powered-By:
1210
+ - Express
1211
+ Access-Control-Allow-Origin:
1212
+ - "*"
1213
+ Access-Control-Allow-Methods:
1214
+ - GET,PUT,POST,DELETE
1215
+ Access-Control-Allow-Headers:
1216
+ - Content-Type
1217
+ Etag:
1218
+ - W/"6528-AivOj4wsKaHyWANB9gVelA"
1219
+ Vary:
1220
+ - Accept-Encoding
1221
+ Content-Encoding:
1222
+ - gzip
1223
+ Via:
1224
+ - 1.1 vegur
1225
+ Strict-Transport-Security:
1226
+ - max-age=2592000; includeSubDomains; preload
1227
+ X-Content-Type-Options:
1228
+ - nosniff
1229
+ Server:
1230
+ - cloudflare-nginx
1231
+ Cf-Ray:
1232
+ - 2e580e5c5e7c3bdb-CDG
1233
+ body:
1234
+ encoding: ASCII-8BIT
1235
+ string: !binary |-
1236
+ H4sIAAAAAAAAA+1ca4+jOBb9Kyhaab9Uu2yDeX1Z9fTsvFY7Wq1qNFKPWpEB
1237
+ k9CVQAZIp7Ojmd8+10BCgGkeRVLaUlmKlADGvtxz7st2+OW3hZ8KnotgyfOF
1238
+ u6CYmG+w84bYD5S4huVSiiiz3y/uFj7fbDzuPy736QZarvN8597fp+LXvchy
1239
+ D0XxPdHpyv91Q6BxftwJaORDz6skjf7H8yiJ4XyW83yfySvJdrcRMC6cjOIs
1240
+ T/d+0cRdPKyjTIMP13LoWJPDQpt9uhKxf4TrAT/C8Y6nfAsd/bbgec799VbE
1241
+ +bIaNRefc2hSX7jsNdYuzt+dJRTQ1y+L3d7bRL6UH4ZefIA+NpvksNzuN3kE
1242
+ 4i7ckG8y8ftdLX6P2sxCbanIdkmcCSlq+fRLPwngkGJ8Hv5YSA1DQtdRtix+
1243
+ uqATAZLw7HEZBdCAWUGIPZNblh8yik2MzdCh1IGb+lF0XJ0hBzOF4iQUS7UR
1244
+ OgnFauxhHEXYwpEP4chMlziIGIbCcQqOldoYvoE1BrbeQtHrR5G6hLrYQQ4l
1245
+ CsXxKNZqs66PIiG600RRt0egaNiIYkuhOBFFqbaJPnUkiiZuoTgQGUEc3SUE
1246
+ mbrKb6ahWKrNYLeIjIRYVgvHgchYCEQZAgYoHCfiKNVWhqLr42izFo7+EI66
1247
+ 7hoMWUYPjofDAYnPXD4Vgoe7P7WqscxTHmd+Gu0mQFnd4gktXwttFX0SsRZG
1248
+ YhNkSHtYy4Mk1QSgocXiAPjkYqslcdF4x1fiTsubPUQx3LAtyFTcKs+lyQFN
1249
+ JMhBeBmM1ebIhSpSEQRRXmgCWpUiy77yKJc0WDzIby0JtZ+FJyWVakp2SwAb
1250
+ qHJ5XUoIV7TqCqAL8i7rDveZSGO+lX3+VP2Ut2V7bxvluUgXBdcK4f1kX4j5
1251
+ 437riVS2qq5ki9+HKFkxgOltSnYfrbC6c5PWczUvlk8jLafxIGWj5HDZS/sh
1252
+ um0kh+d38mHQfkyjnZWIHvtxHogltUd0RPWe3HLYfp7iC7/PgEDgtWQLHh+1
1253
+ 0kdowPxdGn2CDv9xdeavkmRVPcOX3WM1+lM85KVCS4d0XQ8pMCWsgTAndBhh
1254
+ +DgIO7M8pEK4rVCCp1WHYxGmpt5COBxCmEGhQxEzHIXwdRCuFNoNKVdBmPm0
1255
+ ibCO+xG2XWK4jEAR1FM7KoTHI3xWKJ04U1eNOgixR7wmxGbf9EApkRQKmUwF
1256
+ 4mtBXCl02vTPeIiF2YK4b+6gkMiAj4EcRhXE14H4pNCJudZIiHUd+02IrYFQ
1257
+ bMsVAMOEclQ56mtBXCqU3WBJRSJs8CbC9mAoZkzm9xbpWVJRCE9BuFKocZN0
1258
+ WjccInwM1bFEmHiObY5BmOqI9S1+KoQnIiwVSiam02PdtOF4LYjJIMSQG1iI
1259
+ 2SoSXwviSqHOTYwYStsWwrQXYYqLDRUGspmqia+BcK1Q6yaB2BCB30DYM/pt
1260
+ uBQIkj/St9NoGGEex0nei24bqieg/Vfo1kJGKNqu9mkh4CfD/yoVX6OPu1UD
1261
+ 7xMXom05IZ94H4Wfg0aTZfUEQoLtce8IohyghRetil8A9yHK18sN98QmK7U/
1262
+ AmqpWdNoQ11rq5wY34gQ7sbFRHrxfYiCfL1wiWTBWkSrdV4dFMPDQGcJh2az
1263
+ JSdC3OLEGKuHbJFSNdd5PauXCtVvsN5XIExbCOv9COsuteXkq81mITzX6r9O
1264
+ +UHjmpd81nia7OOgXOg7kVvjcKYyQPTi7P+sY6uTr13B/iuxhs3fgtLMZ1z3
1265
+ TUkOSsOQDoSEQnADI1PXlflfw/zPCp1am43M3AFiuwXxgIcvJSJIt2flda9q
1266
+ vb9JlBe93n/JAOe1r/cX9uO07Gc4fjouthB1Zi0zqPjZz9BKx53Nbs8bP329
1267
+ RQ5jDDlsRLAqmq8VP0uFkonbHkfHT99oQczGQWzP2w2i4udLjp8FA5zu9pVX
1268
+ GD879mN+2X4oLiY6qcswssisEkPFzy8wtKHj7ibj55x/IjazKWOWQ4vZCc8z
1269
+ QtZTndSSU2Raav5pdgBtKNS+xfyTRNhoIdyTP9cCmcg0Z9m/ip8vMn42GdBZ
1270
+ 6npt8VPaj92yn54So9JesVt/5n7z3TqJRfXvmRG28w5alu5xJ9IM+C7jYy7g
1271
+ JDBEnhZbHm00HgTw8GBOb7NHLQq1tfh7pq35bncE2iX9hlFItIwLOkntYMYw
1272
+ Nm2TQStQc5QflxUYbzfwbHGQaj/zeNUwiEIKaPHPQpq3pTSSGP46ifzSsX4n
1273
+ 5D99CqHg3vIIYmJ15sMgdyvtd+qRZJ/DjVK+9T5eLfe7xWlYONUctCtwi8nD
1274
+ tPGcFm16yhYpuKyn5Y5cx5y3r0oGxzTKnpx2JYUPqpIf8KDyMAPlyKxIKuhT
1275
+ 6Voz6Xl2XPqc+EvrfwWa5wxMePwIWVghN8b3f3ug4h0xg+9++PbwzTfv//Xx
1276
+ yN5//Oq/4Y/Hf78zvl/98cdSp+iH/3wLfZ+6KERAhygTKyEeSwWshf8oUhG8
1277
+ ybm3Ef4myddFZvehL7W7INsRvu4WcTLEqzM83cXhM4egl0Fe2IHZ5EXfMv95
1278
+ YOogTFU6fqt0vNZx590Uz5uO2yFpsSMYwQ6dIKJj5TX+T71GAU9nn8HZa8i+
1279
+ RhBDbxGj5z9R9cg6wqbaxHmVOq1W6LT314yt02zIEJoI92zErgUykG3OMn2V
1280
+ Zz4pz6y131mjq/PMOFnuIv/xrzLNeqBrZJt22MoqrJ4dwLX4JrLpLPegivwX
1281
+ W+TXDOj4s9dX5Nthq8i3evbhlNqjzGUOcoxZ26tVVt7L0ErH3WmoZ1xkJnZg
1282
+ WKYPP0LCMSZckL73IFWCm7JW1J15e+9VUn6jpPwET4dXk0r5wOAtXvT8O7Ie
1283
+ 2ECWpTbvXSknPyn0Fv/JkAj7LYR73rlUC2QhMu89BSonf2JOXmmfdejwrHO/
1284
+ ARRvTdr0vP6wFly+wGRWwFDZ+AvOxk8MUNm4HTDSsp+eV6SB9iguXpDlnOZm
1285
+ lNt9Trdba9/qvKPg+adCnIAGjsOMgOk2xsCi0OufRyvFZxgxfVbMVqXcEEWk
1286
+ jo1b/N9udCkH5BBNcvj9dX4luImoNW8aXZVytyjlLuDphM0ppZwT6EaLF/2r
1287
+ stXANtLJrIijSrmOQmnHQ1yjlAOEzRbC/dvgpECGi3WE573KSOXkLzUnv2BA
1288
+ J695dTk52I/Xsh8DbvsTMr/LLyhlAAA=
1289
+ http_version:
1290
+ recorded_at: Tue, 20 Sep 2016 20:34:04 GMT
1291
+ - request:
1292
+ method: get
1293
+ uri: https://api.scaleapi.com/v1/task/abcdefghijklmn0123456789
1294
+ body:
1295
+ encoding: UTF-8
1296
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1297
+ headers:
1298
+ Accept:
1299
+ - application/json
1300
+ Accept-Encoding:
1301
+ - gzip, deflate
1302
+ User-Agent:
1303
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1304
+ Content-Type:
1305
+ - application/x-www-form-urlencoded
1306
+ Content-Length:
1307
+ - '52'
1308
+ Host:
1309
+ - api.scaleapi.com
1310
+ Authorization:
1311
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1312
+ response:
1313
+ status:
1314
+ code: 503
1315
+ message: Service Unavailable
1316
+ headers:
1317
+ Date:
1318
+ - Tue, 20 Sep 2016 20:34:08 GMT
1319
+ Content-Type:
1320
+ - text/html; charset=utf-8
1321
+ Transfer-Encoding:
1322
+ - chunked
1323
+ Connection:
1324
+ - keep-alive
1325
+ Set-Cookie:
1326
+ - __cfduid=d3765b0ddae98397ffe7095fef00835641474403647; expires=Wed, 20-Sep-17
1327
+ 20:34:07 GMT; path=/; domain=.scaleapi.com; HttpOnly
1328
+ Cache-Control:
1329
+ - no-cache, no-store
1330
+ Strict-Transport-Security:
1331
+ - max-age=2592000; includeSubDomains; preload
1332
+ X-Content-Type-Options:
1333
+ - nosniff
1334
+ Server:
1335
+ - cloudflare-nginx
1336
+ Cf-Ray:
1337
+ - 2e580e6f7cc53c23-CDG
1338
+ body:
1339
+ encoding: UTF-8
1340
+ string: |-
1341
+ <!DOCTYPE html>
1342
+ <html>
1343
+ <head>
1344
+ <meta name="viewport" content="width=device-width, initial-scale=1">
1345
+ <style type="text/css">
1346
+ html, body, iframe { margin: 0; padding: 0; height: 100%; }
1347
+ iframe { display: block; width: 100%; border: none; }
1348
+ </style>
1349
+ <title>Application Error</title>
1350
+ </head>
1351
+ <body>
1352
+ <iframe src="//s3.amazonaws.com/heroku_pages/error.html">
1353
+ <p>Application Error</p>
1354
+ </iframe>
1355
+ </body>
1356
+ </html>
1357
+ http_version:
1358
+ recorded_at: Tue, 20 Sep 2016 20:34:05 GMT
1359
+ - request:
1360
+ method: get
1361
+ uri: https://api.scaleapi.com/v1/task/57e19d2d9954d53800c7efbf
1362
+ body:
1363
+ encoding: UTF-8
1364
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1365
+ headers:
1366
+ Accept:
1367
+ - application/json
1368
+ Accept-Encoding:
1369
+ - gzip, deflate
1370
+ User-Agent:
1371
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1372
+ Content-Type:
1373
+ - application/x-www-form-urlencoded
1374
+ Content-Length:
1375
+ - '52'
1376
+ Host:
1377
+ - api.scaleapi.com
1378
+ Authorization:
1379
+ - Basic dGVzdF81YzllZDRmMzIwYWVhZjJjZjcwZjUwODZjOTdlN2Y0Mzo=
1380
+ response:
1381
+ status:
1382
+ code: 200
1383
+ message: OK
1384
+ headers:
1385
+ Date:
1386
+ - Tue, 20 Sep 2016 20:34:14 GMT
1387
+ Content-Type:
1388
+ - application/json; charset=utf-8
1389
+ Transfer-Encoding:
1390
+ - chunked
1391
+ Connection:
1392
+ - keep-alive
1393
+ Set-Cookie:
1394
+ - __cfduid=d3d6dc07d9de69d3081d973fd418c7b481474403648; expires=Wed, 20-Sep-17
1395
+ 20:34:08 GMT; path=/; domain=.scaleapi.com; HttpOnly
1396
+ - heroku-session-affinity=ACyDaANoA24IAXPwTtX///8HYgAGKMBiAAqBAGEBbAAAAAFtAAAABXdlYi4xaj2Kfu/lyMaQem0ez1YqeFQOijAE;
1397
+ Version=1; Expires=Wed, 21-Sep-2016 20:34:14 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1398
+ Path=/; HttpOnly
1399
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1400
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1401
+ X-Powered-By:
1402
+ - Express
1403
+ Access-Control-Allow-Origin:
1404
+ - "*"
1405
+ Access-Control-Allow-Methods:
1406
+ - GET,PUT,POST,DELETE
1407
+ Access-Control-Allow-Headers:
1408
+ - Content-Type
1409
+ Etag:
1410
+ - W/"23c-HmrGlWuw4egiiCF/KDw2WA"
1411
+ Vary:
1412
+ - Accept-Encoding
1413
+ Via:
1414
+ - 1.1 vegur
1415
+ Strict-Transport-Security:
1416
+ - max-age=2592000; includeSubDomains; preload
1417
+ X-Content-Type-Options:
1418
+ - nosniff
1419
+ Server:
1420
+ - cloudflare-nginx
1421
+ Cf-Ray:
1422
+ - 2e580e728efc3c6b-CDG
1423
+ Content-Encoding:
1424
+ - gzip
1425
+ body:
1426
+ encoding: ASCII-8BIT
1427
+ string: !binary |-
1428
+ H4sIAAAAAAAAA3yQQYvbMBSE/4qYSy9aR5usk1i3UAr9AYVCSzGK9LIWkSUh
1429
+ PZM1S/57cTbppaXHN8yb+Zh32EKGyfWGobFWz9sn1T2t1be10puNfukatd3/
1430
+ gIQ1IRyNPfdTCdAYmLNerS6XS0NvZsyBGpvG1cMFCZ4zQSMPKdIiQ6Ky4alC
1431
+ w6blg8lBwsfKZbLsU4TGZxOC4MFXkanUFIWJTjCFIEYSi0yj8UEY5wrV2ohD
1432
+ PQt/EgN9qmIwOc+CU2ogMZVXinaGhjMzJLIpZqzQ7x9EfZzGIxVotKptldru
1433
+ ty0kKLLnuY9mXNgPgd5MdEV8N/EVEidPwd0ybhTQ+HKjOXzQ4Cphh+QtVeif
1434
+ +ErC36Eg71dMfFd+LebHDP9Zf7dd1i9Uc4qVlu40sU03vpj67O15yngUQ/9V
1435
+ 9C9spsriT+b1KuFrv4jQXCaSYFPPvXfLPDt67tzadV374trNXim7o9PxhOtv
1436
+ AAAA//8DAB+pxlo8AgAA
1437
+ http_version:
1438
+ recorded_at: Tue, 20 Sep 2016 20:34:11 GMT
1439
+ - request:
1440
+ method: post
1441
+ uri: https://api.scaleapi.com/v1/task/phonecall
1442
+ body:
1443
+ encoding: UTF-8
1444
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Call+this+person+and+tell+me+his+email+address.+Ask+if+he%27s+happy+too.&phone_number=5055006865&entity_name=Alexandr+Wang&fields[email]=Email+Address&choices[]=He+is+happy&choices[]=He+is+not+happy
1445
+ headers:
1446
+ Accept:
1447
+ - application/json
1448
+ Accept-Encoding:
1449
+ - gzip, deflate
1450
+ User-Agent:
1451
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1452
+ Content-Type:
1453
+ - application/x-www-form-urlencoded
1454
+ Content-Length:
1455
+ - '263'
1456
+ Host:
1457
+ - api.scaleapi.com
1458
+ Authorization:
1459
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1460
+ response:
1461
+ status:
1462
+ code: 401
1463
+ message: Unauthorized
1464
+ headers:
1465
+ Date:
1466
+ - Tue, 20 Sep 2016 22:19:36 GMT
1467
+ Content-Type:
1468
+ - application/json; charset=utf-8
1469
+ Content-Length:
1470
+ - '84'
1471
+ Connection:
1472
+ - keep-alive
1473
+ Set-Cookie:
1474
+ - __cfduid=d60e37e71940a8fddc919e309d1e6de311474409976; expires=Wed, 20-Sep-17
1475
+ 22:19:36 GMT; path=/; domain=.scaleapi.com; HttpOnly
1476
+ - heroku-session-affinity=ACyDaANoA24IAZuOKdT///8HYgAGQXhiAAsEMWEBbAAAAAFtAAAABXdlYi4xapnQlFYZ3vmtF0UjADXOkmT56vBF;
1477
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:36 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1478
+ Path=/; HttpOnly
1479
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1480
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1481
+ X-Powered-By:
1482
+ - Express
1483
+ Access-Control-Allow-Origin:
1484
+ - "*"
1485
+ Access-Control-Allow-Methods:
1486
+ - GET,PUT,POST,DELETE
1487
+ Access-Control-Allow-Headers:
1488
+ - Content-Type
1489
+ Etag:
1490
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1491
+ Vary:
1492
+ - Accept-Encoding
1493
+ Via:
1494
+ - 1.1 vegur
1495
+ Strict-Transport-Security:
1496
+ - max-age=2592000; includeSubDomains; preload
1497
+ X-Content-Type-Options:
1498
+ - nosniff
1499
+ Server:
1500
+ - cloudflare-nginx
1501
+ Cf-Ray:
1502
+ - 2e58a8efcded54a4-MAD
1503
+ body:
1504
+ encoding: UTF-8
1505
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1506
+ user."}'
1507
+ http_version:
1508
+ recorded_at: Tue, 20 Sep 2016 22:19:33 GMT
1509
+ - request:
1510
+ method: post
1511
+ uri: https://api.scaleapi.com/v1/task/annotation
1512
+ body:
1513
+ encoding: UTF-8
1514
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Draw+a+box+around+each+baby+cow+and+big+cow.&attachment_type=image&attachment=http%3A%2F%2Fi.imgur.com%2Fv4cBreD.jpg&objects_to_annotate[]=baby+cow&objects_to_annotate[]=big+cow&with_labels=true
1515
+ headers:
1516
+ Accept:
1517
+ - application/json
1518
+ Accept-Encoding:
1519
+ - gzip, deflate
1520
+ User-Agent:
1521
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1522
+ Content-Type:
1523
+ - application/x-www-form-urlencoded
1524
+ Content-Length:
1525
+ - '259'
1526
+ Host:
1527
+ - api.scaleapi.com
1528
+ Authorization:
1529
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1530
+ response:
1531
+ status:
1532
+ code: 401
1533
+ message: Unauthorized
1534
+ headers:
1535
+ Date:
1536
+ - Tue, 20 Sep 2016 22:19:37 GMT
1537
+ Content-Type:
1538
+ - application/json; charset=utf-8
1539
+ Content-Length:
1540
+ - '84'
1541
+ Connection:
1542
+ - keep-alive
1543
+ Set-Cookie:
1544
+ - __cfduid=d22650cf3c64ccf8948943ec40fdef24c1474409977; expires=Wed, 20-Sep-17
1545
+ 22:19:37 GMT; path=/; domain=.scaleapi.com; HttpOnly
1546
+ - heroku-session-affinity=ACyDaANoA24IAVETRtX///8HYgAGQXliAAq/nGEBbAAAAAFtAAAABXdlYi4xasLfPX9/90QL2t0Rx4ZrYrh8/jbd;
1547
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:37 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1548
+ Path=/; HttpOnly
1549
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1550
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1551
+ X-Powered-By:
1552
+ - Express
1553
+ Access-Control-Allow-Origin:
1554
+ - "*"
1555
+ Access-Control-Allow-Methods:
1556
+ - GET,PUT,POST,DELETE
1557
+ Access-Control-Allow-Headers:
1558
+ - Content-Type
1559
+ Etag:
1560
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1561
+ Vary:
1562
+ - Accept-Encoding
1563
+ Via:
1564
+ - 1.1 vegur
1565
+ Strict-Transport-Security:
1566
+ - max-age=2592000; includeSubDomains; preload
1567
+ X-Content-Type-Options:
1568
+ - nosniff
1569
+ Server:
1570
+ - cloudflare-nginx
1571
+ Cf-Ray:
1572
+ - 2e58a8f54abe3c29-CDG
1573
+ body:
1574
+ encoding: UTF-8
1575
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1576
+ user."}'
1577
+ http_version:
1578
+ recorded_at: Tue, 20 Sep 2016 22:19:34 GMT
1579
+ - request:
1580
+ method: post
1581
+ uri: https://api.scaleapi.com/v1/task/annotation
1582
+ body:
1583
+ encoding: UTF-8
1584
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1585
+ headers:
1586
+ Accept:
1587
+ - application/json
1588
+ Accept-Encoding:
1589
+ - gzip, deflate
1590
+ User-Agent:
1591
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1592
+ Content-Type:
1593
+ - application/x-www-form-urlencoded
1594
+ Content-Length:
1595
+ - '52'
1596
+ Host:
1597
+ - api.scaleapi.com
1598
+ Authorization:
1599
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1600
+ response:
1601
+ status:
1602
+ code: 401
1603
+ message: Unauthorized
1604
+ headers:
1605
+ Date:
1606
+ - Tue, 20 Sep 2016 22:19:38 GMT
1607
+ Content-Type:
1608
+ - application/json; charset=utf-8
1609
+ Content-Length:
1610
+ - '84'
1611
+ Connection:
1612
+ - keep-alive
1613
+ Set-Cookie:
1614
+ - __cfduid=d7b8a950b4849dccf84f4a39cf8adfbbe1474409978; expires=Wed, 20-Sep-17
1615
+ 22:19:38 GMT; path=/; domain=.scaleapi.com; HttpOnly
1616
+ - heroku-session-affinity=ACyDaANoA24IAZlsvdP///8HYgAGQXpiAAgrkGEBbAAAAAFtAAAABXdlYi4xaimouOhUrmdCZyIEsBqRwz+ElUky;
1617
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:38 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1618
+ Path=/; HttpOnly
1619
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1620
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1621
+ X-Powered-By:
1622
+ - Express
1623
+ Access-Control-Allow-Origin:
1624
+ - "*"
1625
+ Access-Control-Allow-Methods:
1626
+ - GET,PUT,POST,DELETE
1627
+ Access-Control-Allow-Headers:
1628
+ - Content-Type
1629
+ Etag:
1630
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1631
+ Vary:
1632
+ - Accept-Encoding
1633
+ Via:
1634
+ - 1.1 vegur
1635
+ Strict-Transport-Security:
1636
+ - max-age=2592000; includeSubDomains; preload
1637
+ X-Content-Type-Options:
1638
+ - nosniff
1639
+ Server:
1640
+ - cloudflare-nginx
1641
+ Cf-Ray:
1642
+ - 2e58a8fbbb74151b-CDG
1643
+ body:
1644
+ encoding: UTF-8
1645
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1646
+ user."}'
1647
+ http_version:
1648
+ recorded_at: Tue, 20 Sep 2016 22:19:35 GMT
1649
+ - request:
1650
+ method: post
1651
+ uri: https://api.scaleapi.com/v1/task/annotation
1652
+ body:
1653
+ encoding: UTF-8
1654
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
1655
+ headers:
1656
+ Accept:
1657
+ - application/json
1658
+ Accept-Encoding:
1659
+ - gzip, deflate
1660
+ User-Agent:
1661
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1662
+ Content-Type:
1663
+ - application/x-www-form-urlencoded
1664
+ Content-Length:
1665
+ - '52'
1666
+ Host:
1667
+ - api.scaleapi.com
1668
+ Authorization:
1669
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1670
+ response:
1671
+ status:
1672
+ code: 401
1673
+ message: Unauthorized
1674
+ headers:
1675
+ Date:
1676
+ - Tue, 20 Sep 2016 22:19:39 GMT
1677
+ Content-Type:
1678
+ - application/json; charset=utf-8
1679
+ Content-Length:
1680
+ - '84'
1681
+ Connection:
1682
+ - keep-alive
1683
+ Set-Cookie:
1684
+ - __cfduid=dfd69c2666d1ed50b941bf97b467d71d61474409978; expires=Wed, 20-Sep-17
1685
+ 22:19:38 GMT; path=/; domain=.scaleapi.com; HttpOnly
1686
+ - heroku-session-affinity=ACyDaANoA24IAbh1b9X///8HYgAGQXtiAASi4GEBbAAAAAFtAAAABXdlYi4xar7Iu9fAnZMstRt+dKT1bMWJeqws;
1687
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:39 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1688
+ Path=/; HttpOnly
1689
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1690
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1691
+ X-Powered-By:
1692
+ - Express
1693
+ Access-Control-Allow-Origin:
1694
+ - "*"
1695
+ Access-Control-Allow-Methods:
1696
+ - GET,PUT,POST,DELETE
1697
+ Access-Control-Allow-Headers:
1698
+ - Content-Type
1699
+ Etag:
1700
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1701
+ Vary:
1702
+ - Accept-Encoding
1703
+ Via:
1704
+ - 1.1 vegur
1705
+ Strict-Transport-Security:
1706
+ - max-age=2592000; includeSubDomains; preload
1707
+ X-Content-Type-Options:
1708
+ - nosniff
1709
+ Server:
1710
+ - cloudflare-nginx
1711
+ Cf-Ray:
1712
+ - 2e58a8ffe8682f89-MAD
1713
+ body:
1714
+ encoding: UTF-8
1715
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1716
+ user."}'
1717
+ http_version:
1718
+ recorded_at: Tue, 20 Sep 2016 22:19:36 GMT
1719
+ - request:
1720
+ method: post
1721
+ uri: https://api.scaleapi.com/v1/task/comparison
1722
+ body:
1723
+ encoding: UTF-8
1724
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Do+the+objects+in+these+images+have+the+same+pattern%3F&attachment_type=image&choices[]=yes&choices[]=no&attachments[]=http%3A%2F%2Fi.ebayimg.com%2F00%2F%24T2eC16dHJGwFFZKjy5ZjBRfNyMC4Ig%7E%7E_32.JPG&attachments[]=http%3A%2F%2Fimages.wisegeek.com%2Fcheckered-tablecloth.jpg
1725
+ headers:
1726
+ Accept:
1727
+ - application/json
1728
+ Accept-Encoding:
1729
+ - gzip, deflate
1730
+ User-Agent:
1731
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1732
+ Content-Type:
1733
+ - application/x-www-form-urlencoded
1734
+ Content-Length:
1735
+ - '338'
1736
+ Host:
1737
+ - api.scaleapi.com
1738
+ Authorization:
1739
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1740
+ response:
1741
+ status:
1742
+ code: 401
1743
+ message: Unauthorized
1744
+ headers:
1745
+ Date:
1746
+ - Tue, 20 Sep 2016 22:19:40 GMT
1747
+ Content-Type:
1748
+ - application/json; charset=utf-8
1749
+ Content-Length:
1750
+ - '84'
1751
+ Connection:
1752
+ - keep-alive
1753
+ Set-Cookie:
1754
+ - __cfduid=d5a37a132a5fb11b93cd9f6f6bc9f8c771474409979; expires=Wed, 20-Sep-17
1755
+ 22:19:39 GMT; path=/; domain=.scaleapi.com; HttpOnly
1756
+ - heroku-session-affinity=ACyDaANoA24IAdYaVdX///8HYgAGQXxiAAIfMWEBbAAAAAFtAAAABXdlYi4xagy9jfF1958CZb+j6GLgHF+zo33e;
1757
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:40 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1758
+ Path=/; HttpOnly
1759
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1760
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1761
+ X-Powered-By:
1762
+ - Express
1763
+ Access-Control-Allow-Origin:
1764
+ - "*"
1765
+ Access-Control-Allow-Methods:
1766
+ - GET,PUT,POST,DELETE
1767
+ Access-Control-Allow-Headers:
1768
+ - Content-Type
1769
+ Etag:
1770
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1771
+ Vary:
1772
+ - Accept-Encoding
1773
+ Via:
1774
+ - 1.1 vegur
1775
+ Strict-Transport-Security:
1776
+ - max-age=2592000; includeSubDomains; preload
1777
+ X-Content-Type-Options:
1778
+ - nosniff
1779
+ Server:
1780
+ - cloudflare-nginx
1781
+ Cf-Ray:
1782
+ - 2e58a9057c7514f7-CDG
1783
+ body:
1784
+ encoding: UTF-8
1785
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1786
+ user."}'
1787
+ http_version:
1788
+ recorded_at: Tue, 20 Sep 2016 22:19:37 GMT
1789
+ - request:
1790
+ method: post
1791
+ uri: https://api.scaleapi.com/v1/task/comparison
1792
+ body:
1793
+ encoding: UTF-8
1794
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
1795
+ headers:
1796
+ Accept:
1797
+ - application/json
1798
+ Accept-Encoding:
1799
+ - gzip, deflate
1800
+ User-Agent:
1801
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1802
+ Content-Type:
1803
+ - application/x-www-form-urlencoded
1804
+ Content-Length:
1805
+ - '105'
1806
+ Host:
1807
+ - api.scaleapi.com
1808
+ Authorization:
1809
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1810
+ response:
1811
+ status:
1812
+ code: 401
1813
+ message: Unauthorized
1814
+ headers:
1815
+ Date:
1816
+ - Tue, 20 Sep 2016 22:19:40 GMT
1817
+ Content-Type:
1818
+ - application/json; charset=utf-8
1819
+ Content-Length:
1820
+ - '84'
1821
+ Connection:
1822
+ - keep-alive
1823
+ Set-Cookie:
1824
+ - __cfduid=df91352c49eab200d10d101d8efca56641474409980; expires=Wed, 20-Sep-17
1825
+ 22:19:40 GMT; path=/; domain=.scaleapi.com; HttpOnly
1826
+ - heroku-session-affinity=ACyDaANoA24IAZZuXtb///8HYgAGQXxiAA0cNWEBbAAAAAFtAAAABXdlYi4xap7JBT9HkFjjQ/lx8eZqinhCBxp4;
1827
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:40 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1828
+ Path=/; HttpOnly
1829
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1830
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1831
+ X-Powered-By:
1832
+ - Express
1833
+ Access-Control-Allow-Origin:
1834
+ - "*"
1835
+ Access-Control-Allow-Methods:
1836
+ - GET,PUT,POST,DELETE
1837
+ Access-Control-Allow-Headers:
1838
+ - Content-Type
1839
+ Etag:
1840
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1841
+ Vary:
1842
+ - Accept-Encoding
1843
+ Via:
1844
+ - 1.1 vegur
1845
+ Strict-Transport-Security:
1846
+ - max-age=2592000; includeSubDomains; preload
1847
+ X-Content-Type-Options:
1848
+ - nosniff
1849
+ Server:
1850
+ - cloudflare-nginx
1851
+ Cf-Ray:
1852
+ - 2e58a909eee0549e-MAD
1853
+ body:
1854
+ encoding: UTF-8
1855
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1856
+ user."}'
1857
+ http_version:
1858
+ recorded_at: Tue, 20 Sep 2016 22:19:37 GMT
1859
+ - request:
1860
+ method: post
1861
+ uri: https://api.scaleapi.com/v1/task/comparison
1862
+ body:
1863
+ encoding: UTF-8
1864
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&choices[]=a&choices[]=b
1865
+ headers:
1866
+ Accept:
1867
+ - application/json
1868
+ Accept-Encoding:
1869
+ - gzip, deflate
1870
+ User-Agent:
1871
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1872
+ Content-Type:
1873
+ - application/x-www-form-urlencoded
1874
+ Content-Length:
1875
+ - '105'
1876
+ Host:
1877
+ - api.scaleapi.com
1878
+ Authorization:
1879
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1880
+ response:
1881
+ status:
1882
+ code: 401
1883
+ message: Unauthorized
1884
+ headers:
1885
+ Date:
1886
+ - Tue, 20 Sep 2016 22:19:41 GMT
1887
+ Content-Type:
1888
+ - application/json; charset=utf-8
1889
+ Content-Length:
1890
+ - '84'
1891
+ Connection:
1892
+ - keep-alive
1893
+ Set-Cookie:
1894
+ - __cfduid=d01a18977f1d87be316f67188a9a8430e1474409981; expires=Wed, 20-Sep-17
1895
+ 22:19:41 GMT; path=/; domain=.scaleapi.com; HttpOnly
1896
+ - heroku-session-affinity=ACyDaANoA24IATnnTtX///8HYgAGQX1iAAjzJmEBbAAAAAFtAAAABXdlYi4xahENuvXp/YuDCjMd2P8XuvQ/k6e5;
1897
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:41 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1898
+ Path=/; HttpOnly
1899
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1900
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1901
+ X-Powered-By:
1902
+ - Express
1903
+ Access-Control-Allow-Origin:
1904
+ - "*"
1905
+ Access-Control-Allow-Methods:
1906
+ - GET,PUT,POST,DELETE
1907
+ Access-Control-Allow-Headers:
1908
+ - Content-Type
1909
+ Etag:
1910
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1911
+ Vary:
1912
+ - Accept-Encoding
1913
+ Via:
1914
+ - 1.1 vegur
1915
+ Strict-Transport-Security:
1916
+ - max-age=2592000; includeSubDomains; preload
1917
+ X-Content-Type-Options:
1918
+ - nosniff
1919
+ Server:
1920
+ - cloudflare-nginx
1921
+ Cf-Ray:
1922
+ - 2e58a90e9e2b103d-CDG
1923
+ body:
1924
+ encoding: UTF-8
1925
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1926
+ user."}'
1927
+ http_version:
1928
+ recorded_at: Tue, 20 Sep 2016 22:19:38 GMT
1929
+ - request:
1930
+ method: post
1931
+ uri: https://api.scaleapi.com/v1/task/categorize
1932
+ body:
1933
+ encoding: UTF-8
1934
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Is+this+company+public+or+private%3F&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&categories[]=public&categories[]=private&allow_multiple=false
1935
+ headers:
1936
+ Accept:
1937
+ - application/json
1938
+ Accept-Encoding:
1939
+ - gzip, deflate
1940
+ User-Agent:
1941
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
1942
+ Content-Type:
1943
+ - application/x-www-form-urlencoded
1944
+ Content-Length:
1945
+ - '229'
1946
+ Host:
1947
+ - api.scaleapi.com
1948
+ Authorization:
1949
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
1950
+ response:
1951
+ status:
1952
+ code: 401
1953
+ message: Unauthorized
1954
+ headers:
1955
+ Date:
1956
+ - Tue, 20 Sep 2016 22:19:42 GMT
1957
+ Content-Type:
1958
+ - application/json; charset=utf-8
1959
+ Content-Length:
1960
+ - '84'
1961
+ Connection:
1962
+ - keep-alive
1963
+ Set-Cookie:
1964
+ - __cfduid=d1ceb56cecd8d4e3adb9c7a1cc46c50c71474409982; expires=Wed, 20-Sep-17
1965
+ 22:19:42 GMT; path=/; domain=.scaleapi.com; HttpOnly
1966
+ - heroku-session-affinity=ACyDaANoA24IATQq2NT///8HYgAGQX5iAAXrMmEBbAAAAAFtAAAABXdlYi4xarQ9aofcFFAdy85obm28ADzLNpa0;
1967
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:42 GMT; Max-Age=86400; Domain=api.scaleapi.com;
1968
+ Path=/; HttpOnly
1969
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
1970
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
1971
+ X-Powered-By:
1972
+ - Express
1973
+ Access-Control-Allow-Origin:
1974
+ - "*"
1975
+ Access-Control-Allow-Methods:
1976
+ - GET,PUT,POST,DELETE
1977
+ Access-Control-Allow-Headers:
1978
+ - Content-Type
1979
+ Etag:
1980
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
1981
+ Vary:
1982
+ - Accept-Encoding
1983
+ Via:
1984
+ - 1.1 vegur
1985
+ Strict-Transport-Security:
1986
+ - max-age=2592000; includeSubDomains; preload
1987
+ X-Content-Type-Options:
1988
+ - nosniff
1989
+ Server:
1990
+ - cloudflare-nginx
1991
+ Cf-Ray:
1992
+ - 2e58a913ae323c65-CDG
1993
+ body:
1994
+ encoding: UTF-8
1995
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
1996
+ user."}'
1997
+ http_version:
1998
+ recorded_at: Tue, 20 Sep 2016 22:19:39 GMT
1999
+ - request:
2000
+ method: post
2001
+ uri: https://api.scaleapi.com/v1/task/categorize
2002
+ body:
2003
+ encoding: UTF-8
2004
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
2005
+ headers:
2006
+ Accept:
2007
+ - application/json
2008
+ Accept-Encoding:
2009
+ - gzip, deflate
2010
+ User-Agent:
2011
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2012
+ Content-Type:
2013
+ - application/x-www-form-urlencoded
2014
+ Content-Length:
2015
+ - '81'
2016
+ Host:
2017
+ - api.scaleapi.com
2018
+ Authorization:
2019
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2020
+ response:
2021
+ status:
2022
+ code: 401
2023
+ message: Unauthorized
2024
+ headers:
2025
+ Date:
2026
+ - Tue, 20 Sep 2016 22:19:43 GMT
2027
+ Content-Type:
2028
+ - application/json; charset=utf-8
2029
+ Content-Length:
2030
+ - '84'
2031
+ Connection:
2032
+ - keep-alive
2033
+ Set-Cookie:
2034
+ - __cfduid=d1ceb56cecd8d4e3adb9c7a1cc46c50c71474409982; expires=Wed, 20-Sep-17
2035
+ 22:19:42 GMT; path=/; domain=.scaleapi.com; HttpOnly
2036
+ - heroku-session-affinity=ACyDaANoA24IAZDxo9T///8HYgAGQX9iAAFL4mEBbAAAAAFtAAAABXdlYi4xap7l8aivGThjDk8AfEZxRe246/yo;
2037
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:43 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2038
+ Path=/; HttpOnly
2039
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2040
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2041
+ X-Powered-By:
2042
+ - Express
2043
+ Access-Control-Allow-Origin:
2044
+ - "*"
2045
+ Access-Control-Allow-Methods:
2046
+ - GET,PUT,POST,DELETE
2047
+ Access-Control-Allow-Headers:
2048
+ - Content-Type
2049
+ Etag:
2050
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2051
+ Vary:
2052
+ - Accept-Encoding
2053
+ Via:
2054
+ - 1.1 vegur
2055
+ Strict-Transport-Security:
2056
+ - max-age=2592000; includeSubDomains; preload
2057
+ X-Content-Type-Options:
2058
+ - nosniff
2059
+ Server:
2060
+ - cloudflare-nginx
2061
+ Cf-Ray:
2062
+ - 2e58a918783c3c65-CDG
2063
+ body:
2064
+ encoding: UTF-8
2065
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2066
+ user."}'
2067
+ http_version:
2068
+ recorded_at: Tue, 20 Sep 2016 22:19:40 GMT
2069
+ - request:
2070
+ method: post
2071
+ uri: https://api.scaleapi.com/v1/task/categorize
2072
+ body:
2073
+ encoding: UTF-8
2074
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction
2075
+ headers:
2076
+ Accept:
2077
+ - application/json
2078
+ Accept-Encoding:
2079
+ - gzip, deflate
2080
+ User-Agent:
2081
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2082
+ Content-Type:
2083
+ - application/x-www-form-urlencoded
2084
+ Content-Length:
2085
+ - '81'
2086
+ Host:
2087
+ - api.scaleapi.com
2088
+ Authorization:
2089
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2090
+ response:
2091
+ status:
2092
+ code: 401
2093
+ message: Unauthorized
2094
+ headers:
2095
+ Date:
2096
+ - Tue, 20 Sep 2016 22:19:43 GMT
2097
+ Content-Type:
2098
+ - application/json; charset=utf-8
2099
+ Content-Length:
2100
+ - '84'
2101
+ Connection:
2102
+ - keep-alive
2103
+ Set-Cookie:
2104
+ - __cfduid=d087766238736b610055ef79edbbc6acd1474409983; expires=Wed, 20-Sep-17
2105
+ 22:19:43 GMT; path=/; domain=.scaleapi.com; HttpOnly
2106
+ - heroku-session-affinity=ACyDaANoA24IAfq0PNX///8HYgAGQX9iAAxOcmEBbAAAAAFtAAAABXdlYi4xahP2pf2W+eCB+B3LiHoovw/Ja2gz;
2107
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:43 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2108
+ Path=/; HttpOnly
2109
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2110
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2111
+ X-Powered-By:
2112
+ - Express
2113
+ Access-Control-Allow-Origin:
2114
+ - "*"
2115
+ Access-Control-Allow-Methods:
2116
+ - GET,PUT,POST,DELETE
2117
+ Access-Control-Allow-Headers:
2118
+ - Content-Type
2119
+ Etag:
2120
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2121
+ Vary:
2122
+ - Accept-Encoding
2123
+ Via:
2124
+ - 1.1 vegur
2125
+ Strict-Transport-Security:
2126
+ - max-age=2592000; includeSubDomains; preload
2127
+ X-Content-Type-Options:
2128
+ - nosniff
2129
+ Server:
2130
+ - cloudflare-nginx
2131
+ Cf-Ray:
2132
+ - 2e58a91c8f882f35-MAD
2133
+ body:
2134
+ encoding: UTF-8
2135
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2136
+ user."}'
2137
+ http_version:
2138
+ recorded_at: Tue, 20 Sep 2016 22:19:40 GMT
2139
+ - request:
2140
+ method: post
2141
+ uri: https://api.scaleapi.com/v1/task/phonecall
2142
+ body:
2143
+ encoding: UTF-8
2144
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
2145
+ headers:
2146
+ Accept:
2147
+ - application/json
2148
+ Accept-Encoding:
2149
+ - gzip, deflate
2150
+ User-Agent:
2151
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2152
+ Content-Type:
2153
+ - application/x-www-form-urlencoded
2154
+ Content-Length:
2155
+ - '105'
2156
+ Host:
2157
+ - api.scaleapi.com
2158
+ Authorization:
2159
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2160
+ response:
2161
+ status:
2162
+ code: 401
2163
+ message: Unauthorized
2164
+ headers:
2165
+ Date:
2166
+ - Tue, 20 Sep 2016 22:19:44 GMT
2167
+ Content-Type:
2168
+ - application/json; charset=utf-8
2169
+ Content-Length:
2170
+ - '84'
2171
+ Connection:
2172
+ - keep-alive
2173
+ Set-Cookie:
2174
+ - __cfduid=d0e568fc8ff5f59d9dba0e3d9ed44f7681474409984; expires=Wed, 20-Sep-17
2175
+ 22:19:44 GMT; path=/; domain=.scaleapi.com; HttpOnly
2176
+ - heroku-session-affinity=ACyDaANoA24IAf1yPNL///8HYgAGQYBiAAi1eGEBbAAAAAFtAAAABXdlYi4xaqEwXltri/bDN5cqtbQ2M8oD9qrD;
2177
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:44 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2178
+ Path=/; HttpOnly
2179
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2180
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2181
+ X-Powered-By:
2182
+ - Express
2183
+ Access-Control-Allow-Origin:
2184
+ - "*"
2185
+ Access-Control-Allow-Methods:
2186
+ - GET,PUT,POST,DELETE
2187
+ Access-Control-Allow-Headers:
2188
+ - Content-Type
2189
+ Etag:
2190
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2191
+ Vary:
2192
+ - Accept-Encoding
2193
+ Via:
2194
+ - 1.1 vegur
2195
+ Strict-Transport-Security:
2196
+ - max-age=2592000; includeSubDomains; preload
2197
+ X-Content-Type-Options:
2198
+ - nosniff
2199
+ Server:
2200
+ - cloudflare-nginx
2201
+ Cf-Ray:
2202
+ - 2e58a9217cea048b-CDG
2203
+ body:
2204
+ encoding: UTF-8
2205
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2206
+ user."}'
2207
+ http_version:
2208
+ recorded_at: Tue, 20 Sep 2016 22:19:41 GMT
2209
+ - request:
2210
+ method: post
2211
+ uri: https://api.scaleapi.com/v1/task/phonecall
2212
+ body:
2213
+ encoding: UTF-8
2214
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&phone_number=5055006865
2215
+ headers:
2216
+ Accept:
2217
+ - application/json
2218
+ Accept-Encoding:
2219
+ - gzip, deflate
2220
+ User-Agent:
2221
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2222
+ Content-Type:
2223
+ - application/x-www-form-urlencoded
2224
+ Content-Length:
2225
+ - '105'
2226
+ Host:
2227
+ - api.scaleapi.com
2228
+ Authorization:
2229
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2230
+ response:
2231
+ status:
2232
+ code: 401
2233
+ message: Unauthorized
2234
+ headers:
2235
+ Date:
2236
+ - Tue, 20 Sep 2016 22:19:45 GMT
2237
+ Content-Type:
2238
+ - application/json; charset=utf-8
2239
+ Content-Length:
2240
+ - '84'
2241
+ Connection:
2242
+ - keep-alive
2243
+ Set-Cookie:
2244
+ - __cfduid=d97b7b062765cc68383dbe67f786de8001474409984; expires=Wed, 20-Sep-17
2245
+ 22:19:44 GMT; path=/; domain=.scaleapi.com; HttpOnly
2246
+ - heroku-session-affinity=ACyDaANoA24IAVaSfNX///8HYgAGQYFiAALtBWEBbAAAAAFtAAAABXdlYi4xaiuIgcTVbHN3Xfo8luDM/8GnV3Zu;
2247
+ Version=1; Expires=Wed, 21-Sep-2016 22:19:45 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2248
+ Path=/; HttpOnly
2249
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2250
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2251
+ X-Powered-By:
2252
+ - Express
2253
+ Access-Control-Allow-Origin:
2254
+ - "*"
2255
+ Access-Control-Allow-Methods:
2256
+ - GET,PUT,POST,DELETE
2257
+ Access-Control-Allow-Headers:
2258
+ - Content-Type
2259
+ Etag:
2260
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2261
+ Vary:
2262
+ - Accept-Encoding
2263
+ Via:
2264
+ - 1.1 vegur
2265
+ Strict-Transport-Security:
2266
+ - max-age=2592000; includeSubDomains; preload
2267
+ X-Content-Type-Options:
2268
+ - nosniff
2269
+ Server:
2270
+ - cloudflare-nginx
2271
+ Cf-Ray:
2272
+ - 2e58a9259d3b3c65-CDG
2273
+ body:
2274
+ encoding: UTF-8
2275
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2276
+ user."}'
2277
+ http_version:
2278
+ recorded_at: Tue, 20 Sep 2016 22:19:42 GMT
2279
+ - request:
2280
+ method: post
2281
+ uri: https://api.scaleapi.com/v1/task/transcription
2282
+ body:
2283
+ encoding: UTF-8
2284
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Transcribe+the+given+fields.+Then+for+each+news+item+on+the+page%2C+transcribe+the+information+for+the+row.&attachment_type=website&attachment=http%3A%2F%2Fwww.google.com%2F&fields[title]=Title+of+Webpage&fields[top_result]=Title+of+the+top+result&row_fields[username]=Username+of+submitter&row_fields[comment_count]=Number+of+comments
2285
+ headers:
2286
+ Accept:
2287
+ - application/json
2288
+ Accept-Encoding:
2289
+ - gzip, deflate
2290
+ User-Agent:
2291
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2292
+ Content-Type:
2293
+ - application/x-www-form-urlencoded
2294
+ Content-Length:
2295
+ - '400'
2296
+ Host:
2297
+ - api.scaleapi.com
2298
+ Authorization:
2299
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2300
+ response:
2301
+ status:
2302
+ code: 401
2303
+ message: Unauthorized
2304
+ headers:
2305
+ Date:
2306
+ - Wed, 21 Sep 2016 18:22:56 GMT
2307
+ Content-Type:
2308
+ - application/json; charset=utf-8
2309
+ Content-Length:
2310
+ - '84'
2311
+ Connection:
2312
+ - keep-alive
2313
+ Set-Cookie:
2314
+ - __cfduid=d82f8c0f7f61675ccd23db453c21aafd11474482176; expires=Thu, 21-Sep-17
2315
+ 18:22:56 GMT; path=/; domain=.scaleapi.com; HttpOnly
2316
+ - heroku-session-affinity=ACyDaANoA24IAflpQ87///8HYgAHW4BiAAhy3GEBbAAAAAFtAAAABXdlYi4xan59lYCOfmLsdwCchdfTkbRP64GB;
2317
+ Version=1; Expires=Thu, 22-Sep-2016 18:22:56 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2318
+ Path=/; HttpOnly
2319
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2320
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2321
+ X-Powered-By:
2322
+ - Express
2323
+ Access-Control-Allow-Origin:
2324
+ - "*"
2325
+ Access-Control-Allow-Methods:
2326
+ - GET,PUT,POST,DELETE
2327
+ Access-Control-Allow-Headers:
2328
+ - Content-Type
2329
+ Etag:
2330
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2331
+ Vary:
2332
+ - Accept-Encoding
2333
+ Via:
2334
+ - 1.1 vegur
2335
+ Strict-Transport-Security:
2336
+ - max-age=2592000; includeSubDomains; preload
2337
+ X-Content-Type-Options:
2338
+ - nosniff
2339
+ Server:
2340
+ - cloudflare-nginx
2341
+ Cf-Ray:
2342
+ - 2e5f8ba13f110920-CDG
2343
+ body:
2344
+ encoding: UTF-8
2345
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2346
+ user."}'
2347
+ http_version:
2348
+ recorded_at: Wed, 21 Sep 2016 18:22:55 GMT
2349
+ - request:
2350
+ method: post
2351
+ uri: https://api.scaleapi.com/v1/task/transcription
2352
+ body:
2353
+ encoding: UTF-8
2354
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
2355
+ headers:
2356
+ Accept:
2357
+ - application/json
2358
+ Accept-Encoding:
2359
+ - gzip, deflate
2360
+ User-Agent:
2361
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2362
+ Content-Type:
2363
+ - application/x-www-form-urlencoded
2364
+ Content-Length:
2365
+ - '105'
2366
+ Host:
2367
+ - api.scaleapi.com
2368
+ Authorization:
2369
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2370
+ response:
2371
+ status:
2372
+ code: 401
2373
+ message: Unauthorized
2374
+ headers:
2375
+ Date:
2376
+ - Wed, 21 Sep 2016 18:22:57 GMT
2377
+ Content-Type:
2378
+ - application/json; charset=utf-8
2379
+ Content-Length:
2380
+ - '84'
2381
+ Connection:
2382
+ - keep-alive
2383
+ Set-Cookie:
2384
+ - __cfduid=d673db8d36df62d207ca7ae8dc587bff51474482176; expires=Thu, 21-Sep-17
2385
+ 18:22:56 GMT; path=/; domain=.scaleapi.com; HttpOnly
2386
+ - heroku-session-affinity=ACyDaANoA24IAdf5P+j///8HYgAHW4FiAATPy2EBbAAAAAFtAAAABXdlYi4xap3s+Y72feR4kRQKUPoexJS5f55J;
2387
+ Version=1; Expires=Thu, 22-Sep-2016 18:22:57 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2388
+ Path=/; HttpOnly
2389
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2390
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2391
+ X-Powered-By:
2392
+ - Express
2393
+ Access-Control-Allow-Origin:
2394
+ - "*"
2395
+ Access-Control-Allow-Methods:
2396
+ - GET,PUT,POST,DELETE
2397
+ Access-Control-Allow-Headers:
2398
+ - Content-Type
2399
+ Etag:
2400
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2401
+ Vary:
2402
+ - Accept-Encoding
2403
+ Via:
2404
+ - 1.1 vegur
2405
+ Strict-Transport-Security:
2406
+ - max-age=2592000; includeSubDomains; preload
2407
+ X-Content-Type-Options:
2408
+ - nosniff
2409
+ Server:
2410
+ - cloudflare-nginx
2411
+ Cf-Ray:
2412
+ - 2e5f8ba63b451061-CDG
2413
+ body:
2414
+ encoding: UTF-8
2415
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2416
+ user."}'
2417
+ http_version:
2418
+ recorded_at: Wed, 21 Sep 2016 18:22:56 GMT
2419
+ - request:
2420
+ method: post
2421
+ uri: https://api.scaleapi.com/v1/task/transcription
2422
+ body:
2423
+ encoding: UTF-8
2424
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback&instruction=Test+instruction&attachment_type=website
2425
+ headers:
2426
+ Accept:
2427
+ - application/json
2428
+ Accept-Encoding:
2429
+ - gzip, deflate
2430
+ User-Agent:
2431
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2432
+ Content-Type:
2433
+ - application/x-www-form-urlencoded
2434
+ Content-Length:
2435
+ - '105'
2436
+ Host:
2437
+ - api.scaleapi.com
2438
+ Authorization:
2439
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2440
+ response:
2441
+ status:
2442
+ code: 401
2443
+ message: Unauthorized
2444
+ headers:
2445
+ Date:
2446
+ - Wed, 21 Sep 2016 18:22:58 GMT
2447
+ Content-Type:
2448
+ - application/json; charset=utf-8
2449
+ Content-Length:
2450
+ - '84'
2451
+ Connection:
2452
+ - keep-alive
2453
+ Set-Cookie:
2454
+ - __cfduid=d465e0e9f0493f19c0adf8899acf3e5231474482177; expires=Thu, 21-Sep-17
2455
+ 18:22:57 GMT; path=/; domain=.scaleapi.com; HttpOnly
2456
+ - heroku-session-affinity=ACyDaANoA24IAfF7ks3///8HYgAHW4JiAAF6omEBbAAAAAFtAAAABXdlYi4xarfOGGECaJdxKWWQl1jRyWpjg12l;
2457
+ Version=1; Expires=Thu, 22-Sep-2016 18:22:58 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2458
+ Path=/; HttpOnly
2459
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2460
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2461
+ X-Powered-By:
2462
+ - Express
2463
+ Access-Control-Allow-Origin:
2464
+ - "*"
2465
+ Access-Control-Allow-Methods:
2466
+ - GET,PUT,POST,DELETE
2467
+ Access-Control-Allow-Headers:
2468
+ - Content-Type
2469
+ Etag:
2470
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2471
+ Vary:
2472
+ - Accept-Encoding
2473
+ Via:
2474
+ - 1.1 vegur
2475
+ Strict-Transport-Security:
2476
+ - max-age=2592000; includeSubDomains; preload
2477
+ X-Content-Type-Options:
2478
+ - nosniff
2479
+ Server:
2480
+ - cloudflare-nginx
2481
+ Cf-Ray:
2482
+ - 2e5f8baa19ab2f4d-MAD
2483
+ body:
2484
+ encoding: UTF-8
2485
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2486
+ user."}'
2487
+ http_version:
2488
+ recorded_at: Wed, 21 Sep 2016 18:22:56 GMT
2489
+ - request:
2490
+ method: get
2491
+ uri: https://api.scaleapi.com/v1/tasks
2492
+ body:
2493
+ encoding: UTF-8
2494
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
2495
+ headers:
2496
+ Accept:
2497
+ - application/json
2498
+ Accept-Encoding:
2499
+ - gzip, deflate
2500
+ User-Agent:
2501
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2502
+ Content-Type:
2503
+ - application/x-www-form-urlencoded
2504
+ Content-Length:
2505
+ - '52'
2506
+ Host:
2507
+ - api.scaleapi.com
2508
+ Authorization:
2509
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2510
+ response:
2511
+ status:
2512
+ code: 401
2513
+ message: Unauthorized
2514
+ headers:
2515
+ Date:
2516
+ - Wed, 21 Sep 2016 18:22:58 GMT
2517
+ Content-Type:
2518
+ - application/json; charset=utf-8
2519
+ Content-Length:
2520
+ - '84'
2521
+ Connection:
2522
+ - keep-alive
2523
+ Set-Cookie:
2524
+ - __cfduid=d510f820a50795ebc78c405380bfe3eb71474482178; expires=Thu, 21-Sep-17
2525
+ 18:22:58 GMT; path=/; domain=.scaleapi.com; HttpOnly
2526
+ - heroku-session-affinity=ACyDaANoA24IAX3t08v///8HYgAHW4JiAA04d2EBbAAAAAFtAAAABXdlYi4xauP6UbV0K25gzQuFu9hHI5UoTakw;
2527
+ Version=1; Expires=Thu, 22-Sep-2016 18:22:58 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2528
+ Path=/; HttpOnly
2529
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2530
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2531
+ X-Powered-By:
2532
+ - Express
2533
+ Access-Control-Allow-Origin:
2534
+ - "*"
2535
+ Access-Control-Allow-Methods:
2536
+ - GET,PUT,POST,DELETE
2537
+ Access-Control-Allow-Headers:
2538
+ - Content-Type
2539
+ Etag:
2540
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2541
+ Vary:
2542
+ - Accept-Encoding
2543
+ Via:
2544
+ - 1.1 vegur
2545
+ Strict-Transport-Security:
2546
+ - max-age=2592000; includeSubDomains; preload
2547
+ X-Content-Type-Options:
2548
+ - nosniff
2549
+ Server:
2550
+ - cloudflare-nginx
2551
+ Cf-Ray:
2552
+ - 2e5f8bafdf8a1061-CDG
2553
+ body:
2554
+ encoding: UTF-8
2555
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2556
+ user."}'
2557
+ http_version:
2558
+ recorded_at: Wed, 21 Sep 2016 18:22:57 GMT
2559
+ - request:
2560
+ method: get
2561
+ uri: https://api.scaleapi.com/v1/task/abcdefghijklmn0123456789
2562
+ body:
2563
+ encoding: UTF-8
2564
+ string: callback_url=http%3A%2F%2Fwww.example.com%2Fcallback
2565
+ headers:
2566
+ Accept:
2567
+ - application/json
2568
+ Accept-Encoding:
2569
+ - gzip, deflate
2570
+ User-Agent:
2571
+ - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.2.4p230
2572
+ Content-Type:
2573
+ - application/x-www-form-urlencoded
2574
+ Content-Length:
2575
+ - '52'
2576
+ Host:
2577
+ - api.scaleapi.com
2578
+ Authorization:
2579
+ - Basic dGVzdF9hYmNkZWZnaGlqa2xtb3BxcnN0dXZ3eHl6Og==
2580
+ response:
2581
+ status:
2582
+ code: 401
2583
+ message: Unauthorized
2584
+ headers:
2585
+ Date:
2586
+ - Wed, 21 Sep 2016 18:22:59 GMT
2587
+ Content-Type:
2588
+ - application/json; charset=utf-8
2589
+ Content-Length:
2590
+ - '84'
2591
+ Connection:
2592
+ - keep-alive
2593
+ Set-Cookie:
2594
+ - __cfduid=d1327255b225cd50b7d3addf95ebd31bb1474482179; expires=Thu, 21-Sep-17
2595
+ 18:22:59 GMT; path=/; domain=.scaleapi.com; HttpOnly
2596
+ - heroku-session-affinity=ACyDaANoA24IAbOeG8////8HYgAHW4NiAAndLWEBbAAAAAFtAAAABXdlYi4xaoi5/wjvIAVR2yoTVV0aNsTfRGP1;
2597
+ Version=1; Expires=Thu, 22-Sep-2016 18:22:59 GMT; Max-Age=86400; Domain=api.scaleapi.com;
2598
+ Path=/; HttpOnly
2599
+ - scaleCookie.sig=5D00ZgYg6ozkIeLTj3Q9pZLMPxk; path=/; httponly
2600
+ - scaleCookie=eyJwYXNzcG9ydCI6e319; path=/; httponly
2601
+ X-Powered-By:
2602
+ - Express
2603
+ Access-Control-Allow-Origin:
2604
+ - "*"
2605
+ Access-Control-Allow-Methods:
2606
+ - GET,PUT,POST,DELETE
2607
+ Access-Control-Allow-Headers:
2608
+ - Content-Type
2609
+ Etag:
2610
+ - W/"54-hB1kwjCx4qwGwMoLdUIV9w"
2611
+ Vary:
2612
+ - Accept-Encoding
2613
+ Via:
2614
+ - 1.1 vegur
2615
+ Strict-Transport-Security:
2616
+ - max-age=2592000; includeSubDomains; preload
2617
+ X-Content-Type-Options:
2618
+ - nosniff
2619
+ Server:
2620
+ - cloudflare-nginx
2621
+ Cf-Ray:
2622
+ - 2e5f8bb4a8d53c47-CDG
2623
+ body:
2624
+ encoding: UTF-8
2625
+ string: '{"status_code":401,"error":"Your API key does not correspond to a registered
2626
+ user."}'
2627
+ http_version:
2628
+ recorded_at: Wed, 21 Sep 2016 18:22:58 GMT
2629
+ recorded_with: VCR 3.0.3