curl -X POST https://api.example.com/extra/register \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN" \
-d '{
"v_name": "Silla Plástica",
"v_value_add": 5000,
"v_quantity": 50
}'
{
"message": "Registro Exitoso"
}
Register a new extra item in the system
curl -X POST https://api.example.com/extra/register \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN" \
-d '{
"v_name": "Silla Plástica",
"v_value_add": 5000,
"v_quantity": 50
}'
{
"message": "Registro Exitoso"
}
access_token cookie.
"Silla Plástica" (Plastic Chair)500050"Registro Exitoso"curl -X POST https://api.example.com/extra/register \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN" \
-d '{
"v_name": "Silla Plástica",
"v_value_add": 5000,
"v_quantity": 50
}'
{
"message": "Registro Exitoso"
}