Easy to use, fast and lightweight library for Node.js.
🚧 This project is under development and is not yet ready for use.
JTP is a protocol for transferring data between systems. It facilitates communication between systems using JSON (JavaScript Object Notation) as the data format and relies on the TCP/IP protocol for data transfer.
POST /api/test HTTP/1.1
Host: localhost:3000
Content-Type: text/plain
Hello World!!
POST /api/test HTTP/1.1
Host: localhost:3000
Content-Type: application/json
{
"name": "Geison",
"age": 23
}
{
"head": {
"host": "localhost:3000" // The domain name or IP address of the target server.
"method": "CREATE" // Follow the CRUD operations
"path": "/api/test" // The path of the endpoint
}
"body": {
"type": "string" // The type of the body
"data": "Hello World!!" // The data of the body
}
}
{
"head": {
"host": "localhost:3000",
"method": "CREATE",
"path": "/api/test"
}
"body": {
"type": "object",
"data": {
"name": "Geison",
"age": 23
}
}
}