Sha256: 1b02cd345cb9f7069ed56c9cad2c78ec9ad6a76a2501e51151f91d3d1d5586de

Contents?: true

Size: 1.47 KB

Versions: 71

Compression:

Stored size: 1.47 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "http_post",
  "path": "packages/ree_http/package/ree_http/functions/http_post.rb",
  "mount_as": "fn",
  "class": "ReeHttp::HttpPost",
  "factory": null,
  "methods": [
    {
      "doc": "Sends POST HTTP request to a specified destination.\nSee http_exec for usage examples.",
      "throws": [

      ],
      "return": "Net::HTTPResponse",
      "args": [
        {
          "arg": "url",
          "arg_type": "req",
          "type": "String"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:headers? => HashOf[Or[String, Symbol], Or[String, Integer]], :body? => Or[String, Hash, File], :form_data? => HashOf[Or[Symbol, String], Or[Integer, Float, Bool, String, Array, File]], :write_timeout? => Integer, :timeout? => Integer, :redirects_count? => Integer, :strict_redirect_mode? => Bool, :query_params? => HashOf[Or[String, Symbol], Any], :force_ssl? => Bool, :ca_certs? => ArrayOf[File], :basic_auth? => {:username => String, :password => String}, :bearer_token? => String, :proxy? => {:address => String, :port? => Integer, :username? => String, :password? => String}]"
        },
        {
          "arg": "block",
          "arg_type": "block",
          "type": "Block"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "http_exec",
      "package_name": "ree_http",
      "as": "http_exec",
      "imports": [
        "OPTS_CONTRACT"
      ]
    }
  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.43 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.42 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.41 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.40 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.39 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.38 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.37 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.36 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.35 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.34 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.33 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json