Data.post #7650
-
This is a preliminary plan based on a quick conversation with Radek. The
The
Other ideas considered:
Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Didn't we want to drive the interpretation of |
Beta Was this translation helpful? Give feedback.
-
I don't think I understand the rationale for this mapping. Indeed, we have
IMO there's too many uncertainties here, especially (1 - the key name) - shouldn't we require the user to build the |
Beta Was this translation helpful? Give feedback.
-
I changed file upload to send the file without a form, and added |
Beta Was this translation helpful? Give feedback.
-
Data.fetch url method headers try_auto_parse
Data.post url body method=HTTP_Method.POST headers=[] try_auto_parse_response=True
Request_Body.Text <Encoding=UTF8> <Content_Type="text/plain">
Request_Body.JSON
Request_Body.Binary
Request_Body.Form_Data <Map Key:Text Value:(Text | File)>
Request_Body.Form_URLEncoded
Ideally lets do these as and try the auto conversion support. Few questions later on more edge cases...
|
Beta Was this translation helpful? Give feedback.
Data.fetch url method headers try_auto_parse
Data.post url body method=HTTP_Method.POST headers=[] try_auto_parse_response=True
Request_Body.Text <Encoding=UTF8> <Content_Type="text/plain">
Request_Body.Text _ Encoding.UTF8
Request_Body.JSON
to_json
and then makes a Text request.Request_Body.Binary