WIP endpoint for listing available modifiers for frontend

This commit is contained in:
Kevin Pham
2023-12-07 11:41:54 -06:00
parent 0b084f44ae
commit c9bb0f6c25
2 changed files with 65 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
package requestmodifiers
import (
"fmt"
//"fmt"
"net/url"
"ladder/proxychain"
@@ -13,7 +13,7 @@ func ModifyQueryParams(key string, value string) proxychain.RequestModification
return func(chain *proxychain.ProxyChain) error {
q := chain.Request.URL.Query()
chain.Request.URL.RawQuery = modifyQueryParams(key, value, q)
fmt.Println(chain.Request.URL.String())
//fmt.Println(chain.Request.URL.String())
return nil
}
}