Skip to content

Server for modifying epub files to include social DRM

License

Notifications You must be signed in to change notification settings

vaspervnp/socialDRMServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

socialDRMServer

API Server (.Net 7) for modifying epub files to include social DRM

1st working version that supports 2 calls, AddSocialDrm and GetBookTitle

AddSocialDrm example:

curl --location --request POST 'https://localhost:7038/Epub/AddSocialDrm'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'epubSource=[base64 string of epub]'
--data-urlencode 'socialName=[name to put as socialdrm]'

Returns a base64 representation of the epub file containing the social drm.

GetBookTitle example:

curl --location --request POST 'https://localhost:7038/Epub/GetBookTitle'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'epubSource=[base64 string of epub]'

Returns the title of the book.

About

Server for modifying epub files to include social DRM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages