HomeMusing Studio

clean up responses and logging, change endpoint

Description

clean up responses and logging, change endpoint

  • return an error with invalid request types
  • simplify json decoding
  • return error and success consistent with app conventions
  • endpoint change from /api/generate/markdownify to /api/markdown
  • fix nil pointer dereference when passing a base_url

Details

Provenance
robjlorangerAuthored on Dec 17 2019, 8:27 PM
Parents
rWFa266d8e0322d: Update IsJSON call in handleRenderMarkdown()
Branches
Unknown
Tags
Unknown