config upload fix
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
Note: Unnecessary use of -X or --request, POST is already inferred.
|
||||
* Host localhost:3000 was resolved.
|
||||
* IPv6: ::1
|
||||
* IPv4: 127.0.0.1
|
||||
% Total % Received % Xferd Average Speed Time Time Time Current
|
||||
Dload Upload Total Spent Left Speed
|
||||
␍ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying [::1]:3000...
|
||||
* Connected to localhost (::1) port 3000
|
||||
* using HTTP/1.x
|
||||
> POST /api/configs HTTP/1.1␍
|
||||
> Host: localhost:3000␍
|
||||
> User-Agent: curl/8.15.0␍
|
||||
> Accept: */*␍
|
||||
> Content-Length: 1832␍
|
||||
> Content-Type: multipart/form-data; boundary=------------------------barYWMs19HWi81kFXmt3OX␍
|
||||
> ␍
|
||||
} [1832 bytes data]
|
||||
* upload completely sent off: 1832 bytes
|
||||
< HTTP/1.1 200 OK␍
|
||||
< Access-Control-Allow-Origin: *␍
|
||||
< content-length: 232␍
|
||||
< content-type: application/json␍
|
||||
< Date: Sat, 12 Sep 2026 23:27:36 GMT␍
|
||||
< Connection: keep-alive␍
|
||||
< Keep-Alive: timeout=5␍
|
||||
< ␍
|
||||
{ [232 bytes data]
|
||||
␍100 2064 100 232 100 1832 49225 379k --:--:-- --:--:-- --:--:-- 503k{"ok":true,"script":{"id":2,"name":"T5 Zombies Baseline","target_rel_path":"dedicated_sp.cfg","scope_type":"game","scope_value":"t5","current_version_id":null,"kind":"baseline","created_at":"2026-09-12T23:27:36.519Z"},"versionId":2}
|
||||
* Connection #0 to host localhost left intact
|
||||
Reference in New Issue
Block a user