it puts GET params in the body if methodsThatUseUrlParams is empty13ms ‣
this.server.respondWith('GET', '/test', function(xhr) {
xhr.requestBody.should.equal('i1=value')
xhr.respond(200, {}, 'Clicked!')
})
var form = make('<form hx-trigger="click" hx-get="/test"><input name="i1" value="value"/><button id="b1">Click Me!</button></form>')
try {
htmx.config.methodsThatUseUrlParams = []
form.click()
this.server.respond()
form.innerHTML.should.equal('Clicked!')
} finally {
htmx.config.methodsThatUseUrlParams = ['get']
}