---
http_interactions:
- request:
    method: get
    uri: http://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&ano=2015&instituicao_id=1&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Fri, 17 Jul 2015 12:00:43 GMT
      Server:
      - Apache
      Set-Cookie:
      - PHPSESSID=44ug4thklopagrs509k06lcia6; expires=Sat, 18-Jul-2015 12:00:43 GMT;
        path=/
      Expires:
      - Thu, 19 Nov 1981 08:52:00 GMT
      Cache-Control:
      - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
      Pragma:
      - no-cache
      Transfer-Encoding:
      - chunked
      Content-Type:
      - application/json; charset=UTF-8
    body:
      encoding: US-ASCII
      string: '{"regras":[{"id":"5","tabela_arredondamento_id":"1","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"3","turmas":[{"turma_id":"4502"},{"turma_id":"4503"},{"turma_id":"4483"},{"turma_id":"4489"},{"turma_id":"4491"},{"turma_id":"4493"},{"turma_id":"4504"},{"turma_id":"4498"},{"turma_id":"4501"},{"turma_id":"4517"},{"turma_id":"4515"},{"turma_id":"4518"},{"turma_id":"4519"},{"turma_id":"4497"},{"turma_id":"4505"},{"turma_id":"4516"},{"turma_id":"4514"},{"turma_id":"4520"},{"turma_id":"4524"},{"turma_id":"4482"},{"turma_id":"4485"},{"turma_id":"4486"},{"turma_id":"4490"},{"turma_id":"4495"},{"turma_id":"4500"},{"turma_id":"4506"},{"turma_id":"4484"},{"turma_id":"4487"},{"turma_id":"4488"},{"turma_id":"4492"},{"turma_id":"4494"},{"turma_id":"4499"},{"turma_id":"4522"},{"turma_id":"4521"}]},{"id":"10","tabela_arredondamento_id":"3","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"3","turmas":[{"turma_id":"4073"},{"turma_id":"4078"},{"turma_id":"4090"},{"turma_id":"4097"},{"turma_id":"4098"},{"turma_id":"4122"},{"turma_id":"4021"},{"turma_id":"4022"},{"turma_id":"4034"},{"turma_id":"4047"},{"turma_id":"4054"},{"turma_id":"4055"},{"turma_id":"4158"},{"turma_id":"4184"},{"turma_id":"4196"},{"turma_id":"4197"},{"turma_id":"4185"},{"turma_id":"4188"},{"turma_id":"4251"},{"turma_id":"4232"},{"turma_id":"4282"},{"turma_id":"4292"},{"turma_id":"4293"},{"turma_id":"4269"},{"turma_id":"4307"},{"turma_id":"4338"},{"turma_id":"4364"},{"turma_id":"4124"},{"turma_id":"4148"},{"turma_id":"4534"},{"turma_id":"4262"}]},{"id":"3","tabela_arredondamento_id":"2","tipo_nota":"2","tipo_presenca":"1","parecer_descritivo":"3","turmas":[{"turma_id":"4275"},{"turma_id":"4038"},{"turma_id":"4042"},{"turma_id":"4045"},{"turma_id":"4139"},{"turma_id":"4213"},{"turma_id":"4214"},{"turma_id":"4222"},{"turma_id":"4223"},{"turma_id":"4301"},{"turma_id":"4302"},{"turma_id":"4320"},{"turma_id":"4321"},{"turma_id":"4325"},{"turma_id":"4357"},{"turma_id":"4355"},{"turma_id":"4356"},{"turma_id":"4353"},{"turma_id":"4361"},{"turma_id":"4062"},{"turma_id":"4063"},{"turma_id":"4064"},{"turma_id":"4354"},{"turma_id":"4007"},{"turma_id":"4012"},{"turma_id":"4013"},{"turma_id":"4006"},{"turma_id":"4137"},{"turma_id":"4219"},{"turma_id":"4221"},{"turma_id":"4224"},{"turma_id":"4228"},{"turma_id":"4298"},{"turma_id":"4299"},{"turma_id":"4314"},{"turma_id":"4315"},{"turma_id":"4324"},{"turma_id":"4360"},{"turma_id":"4348"},{"turma_id":"4346"},{"turma_id":"4369"},{"turma_id":"4507"},{"turma_id":"4508"},{"turma_id":"4509"},{"turma_id":"4523"},{"turma_id":"4536"},{"turma_id":"4372"},{"turma_id":"4362"},{"turma_id":"4005"},{"turma_id":"4014"},{"turma_id":"4015"},{"turma_id":"4138"},{"turma_id":"4215"},{"turma_id":"4216"},{"turma_id":"4225"},{"turma_id":"4226"},{"turma_id":"4300"},{"turma_id":"4303"},{"turma_id":"4316"},{"turma_id":"4319"},{"turma_id":"4347"},{"turma_id":"4349"},{"turma_id":"4350"},{"turma_id":"4351"},{"turma_id":"4352"},{"turma_id":"4371"},{"turma_id":"4370"},{"turma_id":"4010"},{"turma_id":"4009"},{"turma_id":"4085"},{"turma_id":"4087"},{"turma_id":"4108"},{"turma_id":"4109"},{"turma_id":"4146"},{"turma_id":"4130"},{"turma_id":"4131"},{"turma_id":"3995"},{"turma_id":"3997"},{"turma_id":"3998"},{"turma_id":"4002"},{"turma_id":"4000"},{"turma_id":"4028"},{"turma_id":"4029"},{"turma_id":"4037"},{"turma_id":"4041"},{"turma_id":"4044"},{"turma_id":"4048"},{"turma_id":"4049"},{"turma_id":"4211"},{"turma_id":"4212"},{"turma_id":"4260"},{"turma_id":"4261"},{"turma_id":"4285"},{"turma_id":"4286"},{"turma_id":"4359"},{"turma_id":"4340"},{"turma_id":"4069"},{"turma_id":"4255"},{"turma_id":"4343"},{"turma_id":"4287"},{"turma_id":"4068"},{"turma_id":"4084"},{"turma_id":"4043"},{"turma_id":"4254"},{"turma_id":"4011"},{"turma_id":"4136"},{"turma_id":"4220"},{"turma_id":"4227"},{"turma_id":"4229"},{"turma_id":"4230"},{"turma_id":"4313"},{"turma_id":"4318"},{"turma_id":"4363"},{"turma_id":"4368"},{"turma_id":"4367"},{"turma_id":"4510"},{"turma_id":"4511"},{"turma_id":"4512"},{"turma_id":"4513"},{"turma_id":"4276"},{"turma_id":"4106"},{"turma_id":"4107"},{"turma_id":"3996"},{"turma_id":"3999"},{"turma_id":"4001"},{"turma_id":"4016"},{"turma_id":"4039"},{"turma_id":"4040"},{"turma_id":"4141"},{"turma_id":"4209"},{"turma_id":"4210"},{"turma_id":"4217"},{"turma_id":"4218"},{"turma_id":"4259"},{"turma_id":"4272"},{"turma_id":"4273"},{"turma_id":"4283"},{"turma_id":"4284"},{"turma_id":"4145"},{"turma_id":"4358"},{"turma_id":"4345"},{"turma_id":"4366"},{"turma_id":"4086"},{"turma_id":"4083"},{"turma_id":"4274"},{"turma_id":"4066"},{"turma_id":"4067"},{"turma_id":"4342"},{"turma_id":"4248"},{"turma_id":"4393"},{"turma_id":"4065"},{"turma_id":"4140"},{"turma_id":"4310"},{"turma_id":"4311"},{"turma_id":"4309"},{"turma_id":"4312"}]},{"id":"12","tabela_arredondamento_id":"3","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"0","turmas":[{"turma_id":"4093"},{"turma_id":"4126"},{"turma_id":"4127"},{"turma_id":"4129"},{"turma_id":"4540"},{"turma_id":"4163"},{"turma_id":"4172"},{"turma_id":"4177"},{"turma_id":"4202"},{"turma_id":"4203"},{"turma_id":"4257"},{"turma_id":"4245"},{"turma_id":"4258"},{"turma_id":"4103"},{"turma_id":"4373"},{"turma_id":"4379"},{"turma_id":"4380"},{"turma_id":"4381"},{"turma_id":"4378"},{"turma_id":"4335"},{"turma_id":"4244"}]},{"id":"11","tabela_arredondamento_id":"3","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"0","turmas":[{"turma_id":"4071"},{"turma_id":"4082"},{"turma_id":"4142"},{"turma_id":"4099"},{"turma_id":"4110"},{"turma_id":"4111"},{"turma_id":"4120"},{"turma_id":"4032"},{"turma_id":"4050"},{"turma_id":"4051"},{"turma_id":"4166"},{"turma_id":"4173"},{"turma_id":"4174"},{"turma_id":"4190"},{"turma_id":"4194"},{"turma_id":"4252"},{"turma_id":"4231"},{"turma_id":"4264"},{"turma_id":"4267"},{"turma_id":"4289"},{"turma_id":"4306"},{"turma_id":"4327"},{"turma_id":"4088"},{"turma_id":"4365"},{"turma_id":"4288"},{"turma_id":"4175"},{"turma_id":"4537"},{"turma_id":"4017"},{"turma_id":"4018"},{"turma_id":"4027"}]},{"id":"4","tabela_arredondamento_id":"3","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"3","turmas":[{"turma_id":"4277"},{"turma_id":"4279"},{"turma_id":"4278"},{"turma_id":"4280"},{"turma_id":"4281"},{"turma_id":"4538"},{"turma_id":"4072"},{"turma_id":"4080"},{"turma_id":"4081"},{"turma_id":"4539"},{"turma_id":"4089"},{"turma_id":"4100"},{"turma_id":"4147"},{"turma_id":"4112"},{"turma_id":"4118"},{"turma_id":"4125"},{"turma_id":"4019"},{"turma_id":"4020"},{"turma_id":"4046"},{"turma_id":"4052"},{"turma_id":"4053"},{"turma_id":"4156"},{"turma_id":"4176"},{"turma_id":"4186"},{"turma_id":"4187"},{"turma_id":"4191"},{"turma_id":"4195"},{"turma_id":"4256"},{"turma_id":"4263"},{"turma_id":"4290"},{"turma_id":"4291"},{"turma_id":"4308"},{"turma_id":"4332"},{"turma_id":"4532"},{"turma_id":"4533"},{"turma_id":"4268"},{"turma_id":"4250"},{"turma_id":"4033"},{"turma_id":"4091"},{"turma_id":"4101"},{"turma_id":"4392"},{"turma_id":"4119"},{"turma_id":"4123"},{"turma_id":"4024"},{"turma_id":"4035"},{"turma_id":"4056"},{"turma_id":"4057"},{"turma_id":"4058"},{"turma_id":"4149"},{"turma_id":"4151"},{"turma_id":"4159"},{"turma_id":"4160"},{"turma_id":"4199"},{"turma_id":"4233"},{"turma_id":"4265"},{"turma_id":"4294"},{"turma_id":"4295"},{"turma_id":"4304"},{"turma_id":"4339"},{"turma_id":"4070"},{"turma_id":"4077"},{"turma_id":"4079"},{"turma_id":"4023"},{"turma_id":"4270"},{"turma_id":"4535"},{"turma_id":"4234"},{"turma_id":"4143"}]},{"id":"1","tabela_arredondamento_id":"3","tipo_nota":"1","tipo_presenca":"2","parecer_descritivo":"3","turmas":[{"turma_id":"4076"},{"turma_id":"4092"},{"turma_id":"4144"},{"turma_id":"4113"},{"turma_id":"4121"},{"turma_id":"4025"},{"turma_id":"4036"},{"turma_id":"4061"},{"turma_id":"4060"},{"turma_id":"4157"},{"turma_id":"4161"},{"turma_id":"4162"},{"turma_id":"4201"},{"turma_id":"4200"},{"turma_id":"4153"},{"turma_id":"4236"},{"turma_id":"4074"},{"turma_id":"4266"},{"turma_id":"4305"},{"turma_id":"4271"},{"turma_id":"4296"},{"turma_id":"4297"},{"turma_id":"4328"},{"turma_id":"4030"},{"turma_id":"4102"},{"turma_id":"4334"},{"turma_id":"4075"},{"turma_id":"4059"},{"turma_id":"4026"},{"turma_id":"4115"},{"turma_id":"4114"},{"turma_id":"4133"},{"turma_id":"4164"},{"turma_id":"4170"},{"turma_id":"4178"},{"turma_id":"4192"},{"turma_id":"4193"},{"turma_id":"4243"},{"turma_id":"4237"},{"turma_id":"4382"},{"turma_id":"4383"},{"turma_id":"4384"},{"turma_id":"4385"},{"turma_id":"4094"},{"turma_id":"4336"},{"turma_id":"4104"},{"turma_id":"4132"},{"turma_id":"4135"},{"turma_id":"4165"},{"turma_id":"4171"},{"turma_id":"4180"},{"turma_id":"4181"},{"turma_id":"4189"},{"turma_id":"4204"},{"turma_id":"4239"},{"turma_id":"4240"},{"turma_id":"4330"},{"turma_id":"4386"},{"turma_id":"4388"},{"turma_id":"4389"},{"turma_id":"4387"},{"turma_id":"4337"},{"turma_id":"4095"},{"turma_id":"4096"},{"turma_id":"4105"},{"turma_id":"4116"},{"turma_id":"4117"},{"turma_id":"4134"},{"turma_id":"4167"},{"turma_id":"4168"},{"turma_id":"4169"},{"turma_id":"4182"},{"turma_id":"4205"},{"turma_id":"4207"},{"turma_id":"4331"},{"turma_id":"4341"},{"turma_id":"4376"},{"turma_id":"4374"},{"turma_id":"4375"},{"turma_id":"4391"},{"turma_id":"4246"},{"turma_id":"4247"}]}],"oper":"get","resource":"regras","msgs":[],"any_error_msg":false}'
    http_version: 
  recorded_at: Fri, 17 Jul 2015 12:00:43 GMT
- request:
    method: get
    uri: http://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&ano=2016&instituicao_id=1&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Thu, 21 Jan 2016 19:20:22 GMT
      Server:
      - Apache
      Set-Cookie:
      - PHPSESSID=o5fugd6rr58bju23ets0319t97; expires=Fri, 22-Jan-2016 19:20:22 GMT;
        path=/
      Expires:
      - Thu, 19 Nov 1981 08:52:00 GMT
      Cache-Control:
      - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
      Pragma:
      - no-cache
      Content-Length:
      - '2184'
      Content-Type:
      - application/json; charset=UTF-8
    body:
      encoding: UTF-8
      string: '{"regras":[{"id":"3","tabela_arredondamento_id":"6","tipo_nota":"2","tipo_presenca":"1","parecer_descritivo":"3","tipo_recuperacao":"0","media_recuperacao_paralela":null,"nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"4613"},{"turma_id":"4671"},{"turma_id":"4674"},{"turma_id":"4660"},{"turma_id":"4662"},{"turma_id":"4659"},{"turma_id":"4661"},{"turma_id":"4618"},{"turma_id":"4623"},{"turma_id":"4669"},{"turma_id":"4670"},{"turma_id":"4614"},{"turma_id":"4617"},{"turma_id":"4663"},{"turma_id":"4664"},{"turma_id":"4665"},{"turma_id":"4672"},{"turma_id":"4673"},{"turma_id":"4619"},{"turma_id":"4620"},{"turma_id":"4666"},{"turma_id":"4667"},{"turma_id":"4668"}]},{"id":"1","tabela_arredondamento_id":"3","tipo_nota":"1","tipo_presenca":"2","parecer_descritivo":"3","tipo_recuperacao":"1","media_recuperacao_paralela":"7.000","nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"4633"},{"turma_id":"4642"},{"turma_id":"4647"},{"turma_id":"4658"},{"turma_id":"4634"},{"turma_id":"4640"},{"turma_id":"4648"},{"turma_id":"4635"},{"turma_id":"4641"},{"turma_id":"4649"},{"turma_id":"4650"},{"turma_id":"4637"},{"turma_id":"4638"},{"turma_id":"4639"},{"turma_id":"4651"}]},{"id":"7","tabela_arredondamento_id":"4","tipo_nota":"2","tipo_presenca":"1","parecer_descritivo":"0","tipo_recuperacao":"0","media_recuperacao_paralela":null,"nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"4616"},{"turma_id":"4621"},{"turma_id":"4622"}]},{"id":"4","tabela_arredondamento_id":"5","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"3","tipo_recuperacao":"0","media_recuperacao_paralela":null,"nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"4627"},{"turma_id":"4631"},{"turma_id":"4632"},{"turma_id":"4657"},{"turma_id":"4636"},{"turma_id":"4643"},{"turma_id":"4644"},{"turma_id":"4645"},{"turma_id":"4626"},{"turma_id":"4646"},{"turma_id":"4653"},{"turma_id":"4654"},{"turma_id":"4624"},{"turma_id":"4629"},{"turma_id":"4630"},{"turma_id":"4625"},{"turma_id":"4628"},{"turma_id":"4652"},{"turma_id":"4655"},{"turma_id":"4656"}]}],"oper":"get","resource":"regras","msgs":[],"any_error_msg":false}'
    http_version: 
  recorded_at: Thu, 21 Jan 2016 19:20:22 GMT
- request:
    method: get
    uri: http://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&ano=2017&instituicao_id=1&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 04 Jan 2017 11:26:32 GMT
      Server:
      - Apache
      Set-Cookie:
      - PHPSESSID=j3ued9qd40dstv3kgs79t34i67; expires=Thu, 05-Jan-2017 11:26:32 GMT;
        path=/
      Expires:
      - Thu, 19 Nov 1981 08:52:00 GMT
      Cache-Control:
      - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
      Pragma:
      - no-cache
      Content-Length:
      - '1568'
      Content-Type:
      - application/json; charset=UTF-8
    body:
      encoding: UTF-8
      string: '{"regras":[{"id":"7","tabela_arredondamento_id":"4","tipo_nota":"2","tipo_presenca":"1","parecer_descritivo":"2","tipo_recuperacao":"0","media_recuperacao_paralela":null,"nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"5176"},{"turma_id":"5178"},{"turma_id":"5199"},{"turma_id":"5179"},{"turma_id":"5198"},{"turma_id":"5200"}]},{"id":"3","tabela_arredondamento_id":"2","tipo_nota":"2","tipo_presenca":"1","parecer_descritivo":"3","tipo_recuperacao":"0","media_recuperacao_paralela":null,"nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"5174"},{"turma_id":"5175"},{"turma_id":"5173"},{"turma_id":"5172"}]},{"id":"1","tabela_arredondamento_id":"5","tipo_nota":"1","tipo_presenca":"2","parecer_descritivo":"0","tipo_recuperacao":"1","media_recuperacao_paralela":"7.000","nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"5189"},{"turma_id":"5191"},{"turma_id":"5194"},{"turma_id":"5190"},{"turma_id":"5196"},{"turma_id":"5197"},{"turma_id":"5177"},{"turma_id":"5181"},{"turma_id":"5192"},{"turma_id":"5193"}]},{"id":"4","tabela_arredondamento_id":"5","tipo_nota":"1","tipo_presenca":"1","parecer_descritivo":"3","tipo_recuperacao":"1","media_recuperacao_paralela":"10.000","nota_maxima_geral":"10","nota_maxima_exame":"10","turmas":[{"turma_id":"5182"},{"turma_id":"5183"},{"turma_id":"5184"},{"turma_id":"5185"},{"turma_id":"5195"},{"turma_id":"5201"},{"turma_id":"5186"},{"turma_id":"5187"},{"turma_id":"5180"},{"turma_id":"5188"}]}],"oper":"get","resource":"regras","msgs":[],"any_error_msg":false}'
    http_version: 
  recorded_at: Wed, 01 Mar 2017 03:35:24 GMT
- request:
    method: get
    uri: http://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&ano=2017&instituicao_id=1&modified&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.6p396
  response:
    status:
      code: 301
      message: Moved Permanently
    headers:
      Server:
      - nginx/1.14.0 (Ubuntu)
      Date:
      - Fri, 05 Apr 2019 12:12:45 GMT
      Content-Type:
      - text/html
      Content-Length:
      - '194'
      Connection:
      - keep-alive
      Location:
      - https://test.ieducar.com.br/module/Api/Regra?ano=2017&resource=regras&modified&oper=get&access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC&instituicao_id=1
    body:
      encoding: UTF-8
      string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
        bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.14.0
        (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"
    http_version: 
  recorded_at: Wed, 01 Mar 2017 03:06:41 GMT
- request:
    method: get
    uri: https://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&ano=2017&instituicao_id=1&modified&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.6p396
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx/1.14.0 (Ubuntu)
      Content-Type:
      - application/json; charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Vary:
      - Accept-Encoding
      Cache-Control:
      - no-cache, private
      Date:
      - Fri, 05 Apr 2019 12:12:46 GMT
      X-Xss-Protection:
      - '0'
      Set-Cookie:
      - i_educar_session=kD7hyrGANYF2niarFv4Iqc3R7R8QndOfoNILOwLB; expires=Fri, 05-Apr-2019
        14:12:46 GMT; Max-Age=7200; path=/; httponly
      Content-Encoding:
      - gzip
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        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
    http_version: 
  recorded_at: Wed, 01 Mar 2017 03:06:41 GMT
- request:
    method: get
    uri: http://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&instituicao_id=1&modified&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.6p396
  response:
    status:
      code: 301
      message: Moved Permanently
    headers:
      Server:
      - nginx/1.14.0 (Ubuntu)
      Date:
      - Fri, 14 Jun 2019 20:50:45 GMT
      Content-Type:
      - text/html
      Content-Length:
      - '194'
      Connection:
      - keep-alive
      Location:
      - https://test.ieducar.com.br/module/Api/Regra?resource=regras&modified&oper=get&access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC&instituicao_id=1
    body:
      encoding: UTF-8
      string: "<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body
        bgcolor=\"white\">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.14.0
        (Ubuntu)</center>\r\n</body>\r\n</html>\r\n"
    http_version: 
  recorded_at: Wed, 01 Mar 2017 03:07:16 GMT
- request:
    method: get
    uri: https://test.ieducar.com.br/module/Api/Regra?access_key=8IOwGIjiHvbeTklgwo10yVLgwDhhvs&instituicao_id=1&modified&oper=get&resource=regras&secret_key=5y8cfq31oGvFdAlGMCLIeSKdfc8pUC
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - "*/*"
      Accept-Encoding:
      - gzip, deflate
      User-Agent:
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.6p396
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx/1.14.0 (Ubuntu)
      Content-Type:
      - application/json; charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Vary:
      - Accept-Encoding
      Cache-Control:
      - no-cache, private
      Date:
      - Fri, 14 Jun 2019 20:50:46 GMT
      Set-Cookie:
      - i_educar_session=VhuXIHNoKR9XODuEgmxb50ur3HQw0hSJUiUuVRLw; expires=Fri, 14-Jun-2019
        22:50:46 GMT; Max-Age=7200; path=/; httponly
      Content-Encoding:
      - gzip
    body:
      encoding: ASCII-8BIT
      string: !binary |-
        H4sIAAAAAAAAA+2Y4UrDMBDHX0XyeYNmder6KiLhbG4l0DYlTWUy9u5e6oZV
        XMJA4tr1Y+4uyfHjkvtze2awMNCy7HnPlGQZ42zBLLxiCQKMQalrCRXWVoug
        W+S6zlHZDkqW1V1ZUqhqtKi1hdNWt24MtljnzrYiWwMGczRCYpsbZdWbPjr6
        YPJ1DRrIwZkTMlcoFQztgk6AklI63eouFBXsVAWioJjS3e62Dh24o8RPjq6R
        YFEKsO7uhG+WyXqZ8ju+ztI0SzYU0oMSUm3RUPIKJHwSSdhhcWS38rPzuQPs
        VpewS8bILvWz87m/sftC5UHHJ1V2j350939bdtNi9xSV3bS+u42f3cNcd+fZ
        9UfF6xUTgxcQKbEa7Tjh+f60iApvlCqFr6PCO/tsxwnP1xEu0Xg3+efFVXkT
        e7ZxZd7Enm1A580NwwMv0GxnjfyTHR/Au5JmewYev254PDCN8vWT2/zzhvQC
        UuWfx6DXWHp8UHqBYd6skn+j97JgmpKhVYG2j211Z3J3/HFIT2m3hZvVUyjU
        7wKN0UaQjWVbKFs8fAAkqF7gzxcAAA==
    http_version: 
  recorded_at: Wed, 01 Mar 2017 03:07:17 GMT
recorded_with: VCR 3.0.0
