API Request Format
The Plasticity developer HTTP APIs are JSON APIs. POST requests should be sent with a JSON-formatted body.
For convenience, some APIs accept both GET and POST requests, which means another way to access an API is by using a GET request like so:
https://api.plasticity.ai/cortex/structured/?query=How%20tall%20is%20Michael%20Jordan?&pretty=true
This makes it easy to test the API endpoints in your browser without having to write any code, or by using a tool like cURL or Postman.
Request Header Format
Header | Value |
---|---|
Content-Type | application/json |
Request Body Format
1{
2 "param1": "value1",
3 "param2": "value2",
4 "param3": "value3"
5}