Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 503 Bytes

File metadata and controls

13 lines (11 loc) · 503 Bytes

Function: BearHttpsRequest_send_body_str

void BearHttpsRequest_send_body_str(BearHttpsRequest *self, char *content);

Description

Sends a string as the request body using the default ownership strategy (copy). This is a convenience function for sending text data, JSON strings, or other string-based content.

Parameters

  • self: Pointer to the BearHttpsRequest object
  • content: Pointer to the null-terminated string to send

Returns

This function does not return a value.