Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

[BUG]_Can not access to Update BILL #271

@StingNguyen

Description

@StingNguyen

https://test.bitpay.com/bills/KZQKmQDfacT3uyXnp2wESj

Method: PUT

$request = $this->createNewRequest();

    $request->setMethod(Request::METHOD_PUT);
    $request->setPath('bills/'. $id);
    $body = array(
        'description'       => self::status_complete,
        'price'             => 2,
        'quantity'             => 1,
        'token'             => $this->token->getToken(),
    );
    $request->setBody(json_encode($body));
    $this->addIdentityHeader($request);
    $this->addSignatureHeader($request);
    $this->request = $request;
    $this->response = $this->sendRequest($request);

Response:

[ERROR] In CurlAdapter::sendRequest(): curl_exec failed with the error "Empty reply from server".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions