cURL
curl --request POST \ --url http://localhost:52000/api/v1/endpoints \ --header 'Content-Type: application/json' \ --data ' { "projectId": 123, "name": "<string>", "type": "<string>", "description": "<string>", "url": "<string>", "body": "<unknown>", "successCondition": "<string>", "httpMethod": "<string>", "httpHeaders": {}, "httpParameters": {}, "grpcServiceName": "<string>", "grpcMethodName": "<string>", "grpcStubPath": "<string>" } '
{ "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "id": 123, "name": "<string>", "description": "<string>", "type": "<string>", "url": "<string>", "body": "<string>", "successCondition": "<string>", "httpMethod": "<string>", "httpHeaders": "<string>", "httpParameters": "<string>", "grpcServiceName": "<string>", "grpcMethodName": "<string>", "grpcStubPath": "<string>", "projectId": 123 }
1
Show child attributes
OK