Skip to content
Advertisement

How to create APT hosted repository using Nexus OSS API

I am creating nexus repositories using nexus API, but I don’t know how to post multiline field in json. The API to create hosted repository needs GPG key and GPG key has multiline. Help me please. Thank you very much.

enter image description here

Advertisement

Answer

This was an embarrassing question. When replace “linebreak(n)”, I didn’t consider the operating system. I hope others don’t make the same mistake as me. Thank you.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement