Skip to content

No value when call get_one #1

@nd3w

Description

@nd3w

When I call http://localhost/php_rest_api_without_framework/api/get.php I receive all students table content.
But when I call http://localhost/php_rest_api_without_framework/api/get_one.php unlike the screenshot in (readme.md) I got Error: Student ID is missing! message.

It's like no result from get_one.php at line 15:

    $data = json_decode(file_get_contents("php://input"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions