Chilkat Online Tools

VB6 / Broker API / Asset by ID

Back to Collection Items

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
   at System.Runtime.InteropServices.Marshal.StringToHGlobalUni(String s)
   at Chilkat.CkMarshal.StringToX(String s, XString* x)
   at Chilkat.Xml.LoadXml(String xmlData)
   at ChilkatApi.XClass.LoadClass(String className, Log log)
   at ChilkatApi.ApiCache.getApiClass(String className, Log log)
   at ChilkatApi.ApiCache.getApiProperty(String className, String propName, Log log)
   at ChilkatCode.CodeGen.getXProp(String className, String propName)
   at ChilkatCode.CodeGen.getPropType(String varName, String propName)
   at ChilkatCode.CodeGen.emitAssignment(String varName, String propName, String op, Xml xml)
   at ChilkatCode.Parser.assignment()
   at ChilkatCode.Parser.statement()
   at ChilkatCode.Parser.Chilkat()
   at ChilkatCode.Parser.Parse()
   at ChilkatCode.Compile.CompileForToolsIO(String srcCode, String langHashKey, StringBuilder sbHtmlOut)

Curl Command

curl -X GET
	-u '{{api_key}}:{{api_secret}}'
https://domain.com/v1/assets/:asset_id

Postman Collection Item JSON

{
  "name": "Asset by ID",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{HOST}}/v1/assets/:asset_id",
      "host": [
        "{{HOST}}"
      ],
      "path": [
        "v1",
        "assets",
        ":asset_id"
      ],
      "variable": [
        {
          "key": "asset_id",
          "value": ""
        }
      ]
    }
  },
  "response": [
  ]
}