--- http_interactions: - request: method: post uri: https://api-free.deepl.com/v2/translate?param=fake body: encoding: US-ASCII string: text=Sample&source_lang=EN&target_lang=ES headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/x-www-form-urlencoded response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 17 May 2021 14:42:56 GMT Content-Type: - application/json Content-Length: - '69' Connection: - keep-alive Access-Control-Allow-Origin: - "*" body: encoding: UTF-8 string: '{"translations":[{"detected_source_language":"EN","text":"Muestra"}]}' recorded_at: Mon, 17 May 2021 14:42:56 GMT - request: method: post uri: https://api-free.deepl.com/v2/glossaries body: encoding: US-ASCII string: name=fixture&source_lang=EN&target_lang=ES&entries=World%09Tierra%0A&entries_format=tsv headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/x-www-form-urlencoded response: status: code: 201 message: Created headers: Server: - nginx Date: - Mon, 24 Jan 2022 23:22:45 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive body: encoding: UTF-8 string: '{"glossary_id":"c8ec9224-f13c-4af5-94eb-25e2d6112d34","name":"fixture","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2022-01-24T23:22:45.4428+00:00","entry_count":1}' recorded_at: Mon, 24 Jan 2022 23:22:45 GMT - request: method: post uri: https://api-free.deepl.com/v2/translate?glossary_id=c8ec9224-f13c-4af5-94eb-25e2d6112d34 body: encoding: US-ASCII string: text=Hello+World&source_lang=EN&target_lang=ES headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/x-www-form-urlencoded response: status: code: 200 message: OK headers: Server: - nginx Date: - Mon, 24 Jan 2022 23:22:47 GMT Content-Type: - application/json Content-Length: - '73' Connection: - keep-alive Access-Control-Allow-Origin: - "*" body: encoding: UTF-8 string: '{"translations":[{"detected_source_language":"EN","text":"Hola Tierra"}]}' recorded_at: Mon, 24 Jan 2022 23:22:47 GMT - request: method: post uri: https://api.deepl.com/v2/translate?param=fake body: encoding: US-ASCII string: text=Sample&source_lang=EN&target_lang=ES headers: Authorization: - DeepL-Auth-Key VALID_TOKEN Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/x-www-form-urlencoded response: status: code: 200 message: OK headers: Server: - nginx Date: - Wed, 01 Feb 2023 14:39:00 GMT Content-Type: - application/json Transfer-Encoding: - chunked Access-Control-Allow-Origin: - "*" Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload body: encoding: ASCII-8BIT string: '{"translations":[{"detected_source_language":"EN","text":"Muestra"}]}' recorded_at: Wed, 01 Feb 2023 14:39:00 GMT - request: method: post uri: https://api.deepl.com/v2/translate body: encoding: UTF-8 string: '{"text":"Sample","source_lang":"EN","target_lang":"ES","param":"fake"}' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 403 message: Forbidden headers: Date: - Tue, 02 Jul 2024 13:44:23 GMT Transfer-Encoding: - chunked Access-Control-Allow-Origin: - "*" Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload Server-Timing: - l7_lb_tls;dur=101, l7_lb_idle;dur=1, l7_lb_receive;dur=0, l7_lb_total;dur=107 Access-Control-Expose-Headers: - Server-Timing, X-Trace-ID X-Trace-Id: - d76fa5ee2e5643368519529f5de9d4ea body: encoding: UTF-8 string: '' recorded_at: Tue, 02 Jul 2024 13:44:23 GMT - request: method: post uri: https://api.deepl.com/v2/translate body: encoding: UTF-8 string: '{"text":["Sample"],"source_lang":"EN","target_lang":"ES","param":"fake"}' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Date: - Tue, 02 Jul 2024 16:02:26 GMT Content-Type: - application/json Transfer-Encoding: - chunked Vary: - Accept-Encoding Access-Control-Allow-Origin: - "*" Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload Server-Timing: - l7_lb_tls;dur=111, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=164 Access-Control-Expose-Headers: - Server-Timing, X-Trace-ID X-Trace-Id: - 7085263a2c734f6bbc0ef2a3248d11a2 body: encoding: ASCII-8BIT string: '{"translations":[{"detected_source_language":"EN","text":"Muestra"}]}' recorded_at: Tue, 02 Jul 2024 16:02:26 GMT - request: method: post uri: https://api.deepl.com/v2/glossaries body: encoding: UTF-8 string: '{"name":"fixture","source_lang":"EN","target_lang":"ES","entries":"car\tauto\n","entries_format":"tsv"}' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 201 message: Created headers: Date: - Tue, 09 Jul 2024 01:50:11 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked X-Trace-Id: - 12c5d435de7a492b93f26cd05a8c6b2d Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload Server-Timing: - l7_lb_tls;dur=105, l7_lb_idle;dur=5, l7_lb_receive;dur=0, l7_lb_total;dur=128 Access-Control-Expose-Headers: - Server-Timing, X-Trace-ID body: encoding: UTF-8 string: '{"glossary_id":"b5972112-b74d-447f-92ff-888db3df7e5d","name":"fixture","ready":true,"source_lang":"en","target_lang":"es","creation_time":"2024-07-09T01:50:11.109588Z","entry_count":1}' recorded_at: Tue, 09 Jul 2024 01:50:11 GMT - request: method: post uri: https://api.deepl.com/v2/translate body: encoding: UTF-8 string: '{"text":["I wish we had a car."],"source_lang":"EN","target_lang":"ES","glossary_id":"b5972112-b74d-447f-92ff-888db3df7e5d"}' headers: Authorization: - DeepL-Auth-Key VALID_TOKEN User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Date: - Tue, 09 Jul 2024 01:50:11 GMT Content-Type: - application/json Transfer-Encoding: - chunked Vary: - Accept-Encoding Access-Control-Allow-Origin: - "*" Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload Server-Timing: - l7_lb_tls;dur=278, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=355 Access-Control-Expose-Headers: - Server-Timing, X-Trace-ID X-Trace-Id: - ab9c20ae972946cf9e001a0e7b0aa7dc body: encoding: ASCII-8BIT string: !binary |- eyJ0cmFuc2xhdGlvbnMiOlt7ImRldGVjdGVkX3NvdXJjZV9sYW5ndWFnZSI6IkVOIiwidGV4dCI6Ik9qYWzDoSB0dXZpw6lyYW1vcyBhdXRvLiJ9XX0= recorded_at: Tue, 09 Jul 2024 01:50:11 GMT - request: method: delete uri: https://api.deepl.com/v2/glossaries/b5972112-b74d-447f-92ff-888db3df7e5d body: encoding: UTF-8 string: "{}" headers: Authorization: - DeepL-Auth-Key VALID_TOKEN User-Agent: - deepl-ruby/3.0.2 (darwin23) ruby/3.3.3 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 204 message: No Content headers: Date: - Tue, 09 Jul 2024 01:50:12 GMT X-Trace-Id: - 4b145ebec675432e98119ac4449f764f Strict-Transport-Security: - max-age=63072000; includeSubDomains; preload Server-Timing: - l7_lb_tls;dur=151, l7_lb_idle;dur=2, l7_lb_receive;dur=0, l7_lb_total;dur=1007 Access-Control-Expose-Headers: - Server-Timing, X-Trace-ID body: encoding: UTF-8 string: '' recorded_at: Tue, 09 Jul 2024 01:50:12 GMT recorded_with: VCR 6.2.0