Skip to content

Exercise Proposal: HTTP Query string builder #225

Open
@mglodack

Description

@mglodack

I've recently taken on the challenge of creating a query string builder, and I found it to be a rewarding exercise.

This is an exercise that I enjoy doing whenever I learn a new language and would like to share it.

Exercise:
Write a program that provided a list of tuples can return a HTTP query string.

For example: (Rust-specific)

Input: 
let params = vec![("key1", "value1"), ("key2", "value2")];

Output: 
"?key1=value1&key2=value2"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions