# \#curl

**URL:** https://community.sonatype.com/tag/curl/225.md

[Latest](https://community.sonatype.com/latest.md) · [Categories](https://community.sonatype.com/categories.md) · [Tags](https://community.sonatype.com/tags.md)

---

## [Retrieve checksum (sha256) of a raw file via API](https://community.sonatype.com/t/retrieve-checksum-sha256-of-a-raw-file-via-api/12019)

<div class="topic-metadata">

**Author:** [@WeiterWeiterFertigstellen](https://community.sonatype.com/u/WeiterWeiterFertigstellen)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 6:57am UTC](https://community.sonatype.com/t/retrieve-checksum-sha256-of-a-raw-file-via-api/12019 "2024-02-08T06:57:45Z")

</div>

I’m having a raw repository and I want to retrieve the checksum (preferably sha256) of a file via the http API. I can see the checksums in the attributes section in the Web UI, but I want to know if there is an endpoint…

---

## [cUrl : diffrence between nexus2 & nexus3](https://community.sonatype.com/t/curl-diffrence-between-nexus2-nexus3/10767)

<div class="topic-metadata">

**Author:** [@michel13](https://community.sonatype.com/u/michel13)\
**Replies:** 3\
**Last updated:** [June 9, 2023, 12:26pm UTC](https://community.sonatype.com/t/curl-diffrence-between-nexus2-nexus3/10767 "2023-06-09T12:26:06Z")

</div>

Hi, in Nexus 2 the following cmd is OK : curl --noproxy nexus.xxx.fr -u $cpt:$mdp -L https://nexus.xxx.fr:10130/nexus/content/repositories/my-repo-public/rep1/rep2/rep3/livrables \<html\> \<head\> \<title\>Index of /repo…

---

## [Create or update repository with API, disable Strict Content Type Validation](https://community.sonatype.com/t/create-or-update-repository-with-api-disable-strict-content-type-validation/10536)

<div class="topic-metadata">

**Author:** [@pogacnik](https://community.sonatype.com/u/pogacnik)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 10:40am UTC](https://community.sonatype.com/t/create-or-update-repository-with-api-disable-strict-content-type-validation/10536 "2023-05-29T10:40:12Z")

</div>

Hello, I would like to change some repository settings with scripts. By default there are some settings which I would like to edit, for example: “Strict Content Type Validation” is enabled, “Maximum component age”, “Max…
