# Migration from 2.14.16-01 to 3.22.1-02

**URL:** <https://community.sonatype.com/t/migration-from-2-14-16-01-to-3-22-1-02/4710>\
**Category:** Sonatype Nexus Repository\
**Created:** [August 3, 2020, 7:30pm UTC](https://community.sonatype.com/t/migration-from-2-14-16-01-to-3-22-1-02/4710 "2020-08-03T19:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bleahy](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bleahy](https://community.sonatype.com/u/bleahy)\
**Post date:** [August 3, 2020, 7:30pm UTC](https://community.sonatype.com/t/migration-from-2-14-16-01-to-3-22-1-02/4710/1 "2020-08-03T19:30:54Z")

</div>

Sorry for the newbie question.

But we have migrated our existing repos from our old nexus 2.14.16-01 server to the new 3.22.1-02

The repository structure seems the same. When browsing the repository from the nexus ui.

The old curl call was.

curl -v -F “r=releases” -F “g=com.Balloons.xyz.bubbles” -F “a=bubbles.api” -F “v=1.0.$BUBBLESAPIBUILDNUMBER” -F “p=tar.gz” -F “file=@./xyz-bubbles-api.tar.gz” -u squeakadmin:notrealpassword [http://abc-centos.us-Balloons.root.Balloons.com/nexus/service/local/artifact/maven/content](http://abc-centos.us-Balloons.root.Balloons.com/nexus/service/local/artifact/maven/content)

The new one is

unset https\_proxy  
unset HTTPS\_PROXY

curl -X POST -F “r=releases” -F “g=com.Balloons.xyz.bubbles” -F “a=bubbles.api” -F “v=1.0.$BUBBLESAPIBUILDNUMBER” -F “p=tar.gz” -F “file=@./xyz-bubbles-api.tar.gz” -u squeakadmin:notrealpassword [https://xyz-nexus.saas-n.com/repository](https://xyz-nexus.saas-n.com/repository)

But I’m getting a

Error 400  
Bad Request

 HTTP method POST is not supported by this URL 
 \</divError 400Bad Request

 HTTP method POST is not supported by this URL 
 \</div

Is the use of the parameters or path different for 3.22.1-02? I’m thinking this maybe a path issue. But I’m not sure. The new nexus is https now.

Any pointers would be appreciated

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [August 4, 2020, 1:25pm UTC](https://community.sonatype.com/t/migration-from-2-14-16-01-to-3-22-1-02/4710/2 "2020-08-04T13:25:49Z")

</div>

In the admin section of the UI there is a section called Swagger, there is an upload component API entry there if you aren’t using Maven to deploy.
