ghttp_perform_PUT_json   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm

Implementation

(bind-func ghttp_perform_PUT_json
  (lambda (uri:i8* body:json_t*)
    (let ((bodystr (json_dumps body 0)))
      (if (null? bodystr)
          (begin (println "Error dumping json to string: " body)
                 null)
          (ghttp_perform_request_with_setup_fn uri
                                      (lambda (request:ghttp_request*)
                                        (ghttp_set_type request ghttp_type_put)
                                        (ghttp_set_content_type_json request)
                                        (ghttp_set_body request bodystr (convert (strlen bodystr) i32))
                                        void))))))


Back to Index

Similar Entries

  • call-with-input-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • call-with-output-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • curl_perform_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • filter_input    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/stream.xtm
  • filter_inputs    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/stream.xtm
  • filter_output    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/stream.xtm
  • filter_outputs    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/stream.xtm
  • get-midi-input-device-names-alist    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • get-midi-output-device-names-alist    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • ghttp_copy_request_body_into_buffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_DELETE    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_GET    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_POST_default    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_POST_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_POST_string    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_PUT_default    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_PUT_string    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_request_with_setup_fn    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_body    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_full    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_headers    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_request_body_as_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_html    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_octet_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_plaintext    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_extempore_user_agent    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • input-output-port?    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • input_80211    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/80211.xtm
  • json_array_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_decref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_false_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_incref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_integer_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_null_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_obj_iterator    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_object_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_object_print_keys    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_print_type    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_real_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_string_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_true_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_typeof    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • midi_input_polling    xtlang    /digego/extempore/tree/v0.8.9/libs/external/midi.xtm
  • midi_input_port_id    xtlang    /digego/extempore/tree/v0.8.9/libs/external/midi.xtm
  • midi_output_port_id    xtlang    /digego/extempore/tree/v0.8.9/libs/external/midi.xtm
  • ocv_puttext    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • output_80211    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/80211.xtm
  • pa_params_for_input_device    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • pa_params_for_output_device    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • pm_create_input_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pm_create_output_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pm_device_input_p    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • pm_device_output_p    xtlang    /digego/extempore/tree/v0.8.9/examples/sharedsystem/midisetup.xtm
  • pm_input_device_with_name    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pm_output_device_with_name    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • print_json_t    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • sys_file_putc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_puts    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • with-input-from-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-input-output-from-to-files    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-output-to-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • xtmdoc-export-caches-to-json    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-write-alist-args-as-json    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-write-alist-as-json    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm