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 POST
-u 'username:password'
-H "Content-Type: application/json"
-d '{
"displayName": "inci"
}'
https://domain.com/
Postman Collection Item JSON
{
"name": "Create App Key",
"_postman_id": "9473fd64-8325-4f31-84dc-df2f307baf08",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"displayName\": \"inci\"\n}"
},
"url": "{{url}}/v2/apps/{{appId}}/keys",
"description": "Creates an API key for the specified app. The response body will include a secret \nas well as its corresponding id, which you can use to generate JSON Web Tokens to \nsecurely make API calls on behalf of the app.\n"
},
"response": [
{
"id": "02e812c8-8c06-4ee5-b580-926c898edd32",
"name": "Created",
"originalRequest": {
"method": "POST",
"header": [
{
"description": {
"content": "Added as a part of security scheme: bearer",
"type": "text/plain"
},
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"displayName\": \"inci\"\n}"
},
"url": {
"raw": "{{baseUrl}}/v2/apps/:appId/keys",
"host": [
"{{baseUrl}}"
],
"path": [
"v2",
"apps",
":appId",
"keys"
],
"variable": [
{
"key": "appId"
}
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"key\": {\n \"id\": \"app_5723a347f82ba0516cb4ea34\",\n \"displayName\": \"Key 1\",\n \"secret\": \"5XJ85yjUtRcaQu_pDINblPZb\"\n }\n}"
}
]
}