# Status code 201

**URL:** <https://forum.genieacs.com/t/status-code-201/4689>\
**Category:** Uncategorized\
**Created:** [November 8, 2023, 2:16am UTC](https://forum.genieacs.com/t/status-code-201/4689 "2023-11-08T02:16:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbpaiva](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mbpaiva](https://forum.genieacs.com/u/mbpaiva)\
**Post date:** [November 8, 2023, 2:16am UTC](https://forum.genieacs.com/t/status-code-201/4689/1 "2023-11-08T02:16:39Z")

</div>

Hello, everybody.

I’m trying to update my CPE’s firmware with the following command:

curl -i ‘[http://localhost:7557/files/new\_firmware.bin](http://localhost:7557/files/new_firmware.bin)’   
-X PUT   
–data-binary @“./new\_firmware.bin”   
–header “fileType: 1 Firmware Upgrade Image”   
–header “oui: 552D8Y”   
–header “productClass: CPE”   
–header “version: 2.0”

I can guarantee that the information in header is correct. I’m receiving the following response and nothing happens with my CPE:

HTTP/1.1 100 Continue

HTTP/1.1 201 Created  
GenieACS-Version: 1.2.0+20200901200336  
Date: Tue, 07 Nov 2023 19:38:16 GMT  
Connection: keep-alive  
Transfer-Encoding: chunked

---

<div class="post-metadata">

**Author:** ![vagkaefer](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/vagkaefer/32/1080_2.png) [@vagkaefer](https://forum.genieacs.com/u/vagkaefer)\
**Post date:** [November 9, 2023, 11:47am UTC](https://forum.genieacs.com/t/status-code-201/4689/2 "2023-11-09T11:47:14Z")

</div>

[mbpaiva](https://forum.genieacs.com/u/mbpaiva), you are registering the “file”, then you need to send the firmware manually to the cpe or create a preset/provision to send the firmware to the CPE.

After you register the file, nothing will run automaticaly, you need to configure this.

This problably can help: [Massive Firmware Upgrade - #8 by lavira](https://forum.genieacs.com/t/massive-firmware-upgrade/797/8)
