Skip to content

Gem Broken: Google doesn't accept form encoded input. #29

@bramski

Description

@bramski
irb(main):005:0> Googl.shorten("http://www.microsoft.com", "127.0.0.1", Utilities::Link.google_api_key).short_url
Googl::Error: {"error"=>{"errors"=>[{"domain"=>"global", "reason"=>"parseError", "message"=>"This API does not support parsing form-encoded input."}], "code"=>400, "message"=>"This API does not support parsing form-encoded input."}}
    from /app/vendor/bundle/ruby/2.3.0/gems/googl-0.7.1/lib/googl/shorten.rb:29:in `initialize'
    from /app/vendor/bundle/ruby/2.3.0/gems/googl-0.7.1/lib/googl.rb:29:in `new'
    from /app/vendor/bundle/ruby/2.3.0/gems/googl-0.7.1/lib/googl.rb:29:in `shorten'
    from (irb):5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions