nwaku/docs/api
Vishwanath Martur 6aa62acc0f Fix URL encoding for pubsubTopic and contentTopics parameters
Related to #3128

Update the API to enforce mandatory URL encoding for `pubsubTopic` and `content_topic`.

* Update `docs/api/rest-api.md` to include examples of URL-encoded `pubsubTopic` and `contentTopics` parameters.
* Modify `waku/waku_api/rest/store/handlers.nim` to validate and enforce URL encoding for `pubsubTopic` and `contentTopics` parameters.
* Add error handling for invalid or non-encoded `pubsubTopic` and `contentTopics` parameters in `waku/waku_api/rest/store/handlers.nim`.
* Update `decodeRequestBody` function in `waku/waku_api/rest/rest_serdes.nim` to validate and enforce URL encoding for `pubsubTopic` and `contentTopics` parameters.
* Add error handling for invalid or non-encoded `pubsubTopic` and `contentTopics` parameters in `waku/waku_api/rest/rest_serdes.nim`.
2024-12-07 00:58:01 +05:30
..
node.md chore: remove json rpc (#2416) 2024-02-29 23:35:27 +01:00
rest-api.md Fix URL encoding for pubsubTopic and contentTopics parameters 2024-12-07 00:58:01 +05:30