module-rest icon indicating copy to clipboard operation
module-rest copied to clipboard

REST module for Codeception

Results 21 module-rest issues
Sort by recently updated
recently updated
newest added

According to https://github.com/SoftCreatR/JSONPath/blob/main/CHANGELOG.md#090 dropping support for PHP < 8.1 is the only "breaking change" compared to v0.8.

Furthermore, nullable parameter types are defined explicitly because not doing that will be deprecated in PHP 8.4: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

When upgrading packages, I recently found out that JsonType no longer supports the `"somekey" => "array:empty"` constraint. The tests which use this constraint fail due to a warning emitted: "Array...

When trying to assert for example: `$I->seeHttpHeader('X-Pagination-Total-Count', 25);` it will fail because of the different types

#### What are you trying to achieve? I write a test which makes several request ``` $I->sendPOST('/my/url/test'); $I->sendGET('/my/url/test'); ``` #### What do you get instead? When I call `$I->sendGET('/my/url/test');` it...

#### What are you trying to achieve? Trying to use seeResponseMatchesJsonType on a response from multiple arrays of arrays #### What do you get instead? After several iterations I get...

Hi, It seems that using the Rest module with Phpbrowser does not work for 'coverage' Example running `bin/codecept run --coverage --coverage-xml --coverage-html` : ![Capture d’écran 2022-04-05 à 19 35 42](https://user-images.githubusercontent.com/10850944/161816574-69374ca0-4fc5-4174-9bea-8b8fb70dc389.jpg)...

REST requests (ex. `sendPOST`) always output response , through `execute` method: `$this->debugSection("Response", $printedResponse);` However our tests do a lot of requests, and in return get whole body of web page,...

It is not quite intuitive that you need to use `$I->grabResponse`

#### What are you trying to achieve? I'm trying to test my API interface in Symfony. This API uses JWT-Authentication. So far retrieving the token and calling the controller works....