You can support POST for BLOB upload using a custom API Codeunit with InStream/OutStream. Here's a short AL example:
codeunit 50100 BlobUpload
{
[ServiceEnabled]
procedure UploadFile(FileName: Text; Base64Content: Text)
var
RecRef: RecordRef;
InStr: InStream;
OutStr: OutStream;
TempBlob: Codeunit "Temp Blob";
begin
TempBlob.CreateOutStream(OutStr);
OutStr.WriteText(Base64Content);
TempBlob.CreateInStream(InStr);
TempBlob.ToRecord(SomeTargetRecord); // Your table with BLOB field
SomeTargetRecord.CalcFields("Your BLOB Field");
SomeTargetRecord."Your BLOB Field".CreateInStream(InStr);
// Save the BLOB content as needed
SomeTargetRecord.Modify();
end;
}
This allows third-party apps to POST base64 files into BC via a Codeunit.