azure_http

command
v1.1.0-beta.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 10 Imported by: 0

README

curl -X POST -H "Content-Type: application/json" -d '{
    "data": {
        "message": "hello world!!!"
    },
    "id": "214b0346-7386-11ea-b6ae-acde48001122",
    "source": "changeme",
    "specversion": "1.0",
    "subject": "changeme",
    "type": "changeme",
    "time": "0001-01-01T00:00:00Z"
}' 'http://localhost:7071/api/handler'
curl -X POST -H "Content-Type: application/json" -d '{
  "Data": {
    "req": {
      "Url": "http://localhost:7071/api/order",
      "Method": "POST",
      "Query": "{}",
      "Headers": {
        "Content-Type": [
          "application/json"
        ]
      },
      "Params": {},
      "Body": "{\"id\":1005,\"quantity\":2,\"color\":\"black\"}"
    }
  },
  "Metadata": {
  }
}' 'http://localhost:7071/api/handler'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL