Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* requestPtr->path = "/user/123" */
- if(strstr(requestPtr->path, "/user/123") != NULL)
- {
- /* process the request */
- }
- else if(strstr(requestPtr->path, "/config/settings") != NULL)
- {
- /* process the request */
- }
Add Comment
Please, Sign In to add comment