• Latest Code...

    Featured Post

    Implementing Hilt in a Kotlin Android Jetpack Compose Project with MVVM Architecture

     In modern Android development, maintaining a scalable codebase can be challenging, especially when it comes to dependency management. Hilt,...

    Some common HTTP methods and status codes

    Some common HTTP methods
    Method Description Safe Idempotent
    GET
    Requests a specific representation of a resource
    Yes
    Yes
    PUT
    Create or update a resource with the supplied representation
    No
    Yes
    DELETE
    Deletes the specified resource
    No
    Yes
    POST
    Submits data to be processed by the identified resource
    No
    No
    HEAD
    Similar to GET but only retrieves headers and not the body
    Yes
    Yes
    OPTIONS
    Returns the methods supported by the identified resource
    Yes
    Yes

    Some common HTTP status codes
    Status Range Description Examples
    100
    Informational
    100 Continue
    200
    Successful
    200 OK
    201
    Created
    202
    Accepted
    300
    Redirection
    301 Moved Permanently
    304
    Not Modified
    400
    Client error
    401 Unauthorized
    402
    Payment Required
    404
    Not Found
    405
    Method Not Allowed
    500
    Server error
    500 Internal Server Error
    501
    Not Implemented



    Contact Form

    Name

    Email *

    Message *