Skip to content

Request methods #44

Description

@danielabajirov

Description

Based on the information in the description of each request, we can determine if the request type matches what is specified in the description.

Examples

  1. This method retrieves the details of a specific item, such as description, price, category, all item aspects, condition, return policies, seller feedback and score, shipping options, shipping costs, estimated delivery, and other information the buyer needs to make a purchasing decision.
  2. This method checks if a product is compatible with the specified item.
  3. Merge and analyse sites within a network channel to determine the best server at a given location.
  4. Warning! you could lose data. This function will delete the entry from the database and the file from the disk.

In the first example, it is clear that it is a GET type request. The second example might be a little tricky, but "check" is a controller and thus a POST type request. The third example is complicated, but based on Mase's rules, this is a POST request because it has two controllers, which satisfies the POST request assumption. The last one is of type DELETE.

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions