33 lines
621 B
YAML
33 lines
621 B
YAML
info:
|
|
name: Create Filament
|
|
type: http
|
|
seq: 2
|
|
|
|
http:
|
|
method: POST
|
|
url: "{{base_url}}/api/v1/filaments"
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"material": "PLA",
|
|
"brand": "Bambu",
|
|
"model": "PLA Basic",
|
|
"color_hex": "#FF5733",
|
|
"spool_preset_id": "{{preset_id}}",
|
|
"total_weight_g": 1250,
|
|
"temp_hotend_c": 220,
|
|
"temp_bed_c": 60,
|
|
"flow_factor_pct": 1.0,
|
|
"notes": "Filamento de teste"
|
|
}
|
|
auth:
|
|
type: bearer
|
|
token: "{{access_token}}"
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|