Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use PUT with httpie-edgegrid #21

Closed
eannchen opened this issue May 14, 2020 · 2 comments
Closed

How to use PUT with httpie-edgegrid #21

eannchen opened this issue May 14, 2020 · 2 comments
Labels

Comments

@eannchen
Copy link

As stated above

echo '{
    "cpcodeId": 123456,
    "cpcodeName": "CPC XYZ",
    "contracts": [
        {
            "contractId": "ctr_004W"
        }
    ],
    "products": [
        {
            "productId": "PPPL::ABC"
        },
        {
            "productId": "AdvSite::Reporter"
        }
    ]
}'  | http PUT --auth-type edgegrid -a default: :/cprg/v1/cpcodes/678263

The command is not a correct usage

@robertolopezlopez
Copy link
Contributor

Hi @eannchen ,

Thank you for creating this github issue. Could you please show us the output of your command, to see how we can help you?

Regards,

Roberto

@robertolopezlopez
Copy link
Contributor

Closing this issue due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants