Tezt_tezos.Curlval get :
?runner:Tezt_wrapper.Runner.t ->
?args:string list ->
string ->
Tezt_wrapper.JSON.t Runnable.processget url returns a runnable requesting url with curl.
The response is parsed and returned as JSON. Fails if curl is not found in path.
val get_raw :
?runner:Tezt_wrapper.Runner.t ->
?args:string list ->
string ->
string Runnable.processSame as get but does not parse the returned value
val post :
?runner:Tezt_wrapper.Runner.t ->
?args:string list ->
string ->
Tezt_wrapper.JSON.t ->
Tezt_wrapper.JSON.t Runnable.processpost url data returns a runnable posting data to url with curl.
The response is parsed and returned as JSON. Fails if curl is not found in path.
val post_raw :
?runner:Tezt_wrapper.Runner.t ->
?args:string list ->
string ->
Tezt_wrapper.JSON.t ->
string Runnable.processSame as post but does not parse the returned value
val put :
?runner:Tezt_wrapper.Runner.t ->
?args:string list ->
string ->
Tezt_wrapper.JSON.t ->
Tezt_wrapper.JSON.t Runnable.processput url data returns a runnable putting data to url with curl.
The response is parsed and returned as JSON. Fails if curl is not found in path.
val put_raw :
?runner:Tezt_wrapper.Runner.t ->
?args:string list ->
string ->
Tezt_wrapper.JSON.t ->
string Runnable.processSame as put but does not parse the returned value