curl --request POST \
--url https://api.example.com/cost/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"costs": {},
"wb_user_id": "<string>"
}
'{
"ids": [
[
"<string>",
"<string>"
]
]
}curl --request POST \
--url https://api.example.com/cost/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"costs": {},
"wb_user_id": "<string>"
}
'{
"ids": [
[
"<string>",
"<string>"
]
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful Response
Show child attributes
Was this page helpful?