-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Description
- Platform: AWS Lambda
- Mercury Parser API Version: 0.0.1
- Node Version: v12.11.1
Expected Behavior
API endpoint should allow contentType as text or markdown
Current Behavior
It seems the contentType argument is not present in the code, as the code only takes url and html from the request -
Steps to Reproduce
- Hosted on AWS Lambda as per instructions, can provide link if needed.
- I just tried to make a GET and POST calls, with the contentType set to text and that doesn't seem to work
Detailed Description
Possible Solution
Code should be updated to accept opts as per Mercury parse - https://github.com/postlight/mercury-parser/blob/b0e708aac6a4e7e10986448a132d60df57c45b00/src/mercury.js#L13
Metadata
Metadata
Assignees
Labels
No labels