shockrah
25755bf394
Percent decoder func found on crates.io
...
Link: https://docs.rs/urldecode/0.1.1/src/urldecode/lib.rs.html#1-21
Why rob? Well its slightly modified(very smol change) in that it now takes a &str and allocates a string from it
Later patches will change this so that we don't _always_ allocate frivolously
2021-02-10 23:20:51 -08:00
shockrah
eb338e03a0
+ Test for qs_param behavior
...
Pretty simple and contains a special note about qs_param usage
2021-02-05 16:57:31 -08:00
shockrah
8e98df1d37
- Removed parse_json_params as its no longer used
...
+ Adding qs_param macro to remove boilerplate in pulling out Option<T> data from hashmaps
2021-02-05 16:24:39 -08:00
shockrah
e36d0e5823
* using hashmap instead serde::ValueMap for extract_uid
2021-02-03 19:30:46 -08:00
shockrah
9ceeabea3b
Moving query parameters to the query string
...
This should allow js developers to write their own apps now as js doesn't allow for bodies in GET requests
From now the body is used for raw payloads
2021-02-03 13:54:29 -08:00
shockrah
b67bb6105f
Renaming project to json-api for clarity sake
2021-01-24 13:34:17 -08:00