T
Tobias Weber
Hi,
my programm uses the HTTPClient gem to call a backend that was
originally made for AJAX-without-the-X. Mainly it does POST without
expecting any result.
How do you test this?
Writing a http server that logs when requests don't conform to the API
is easy. But how to hook it up with the test methods in the client? I've
never used threads...
Or I could override the central network communication stuff to just call
another method instead.
my programm uses the HTTPClient gem to call a backend that was
originally made for AJAX-without-the-X. Mainly it does POST without
expecting any result.
How do you test this?
Writing a http server that logs when requests don't conform to the API
is easy. But how to hook it up with the test methods in the client? I've
never used threads...
Or I could override the central network communication stuff to just call
another method instead.