MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Url string with REST

WebPagetest Forums

Full Version: Url string with REST
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I noticed something odd with what we are sending to via rest. When we send a url that has an ampersand in the string (like the entire url string is not passed. It stops at the first &. Any suggestions why that might be or how we can avoid it with out PHP?



Just answered my own question. I swapped out the & for %26 (ASCII) and the tests ran correctly.

Yep, you need to url-encode the query parameters before sending them, otherwise the request itself breaks on the & :-)
Reference URL's