D
Deno

help

A syantax error which I can not decode

AMAaditya Mathur2/6/2024
I have attached 2 screenshots, describing the issue, i am using this api: https://docs.abstractapi.com/scrape Someone please tell what is the syntax error here
Abstract API
Web Scraping API - Abstract API
Abstract's Web Scraping API is a simple yet powerful REST API that is used to extract data from a given URL. To make a request, you simply include the target URL and your API key, and Abstract's API will return the data from that site.
No description
No description
NNeTT2/6/2024
Keep a couple of console.log before and after any JSON parsing you're doing and you'll find what went wrong In your case, you'd need console.log around line 3 and 9
AMAaditya Mathur2/6/2024
actually nothing is loggin in my console, i don't know why is it because the function is deployed on supabase
LLeokuma2/6/2024
In Postman you need to change your request from GET to POST

Looking for more? Join the community!

Recommended Posts
deno-core adding 40mb overheadWe recently migrated to deno-core from mini_v8 and realized a major increase in the size of the releGetting errors while using puppeteer in deno environmentHere is my code(supabase edge function index.ts): ```import puppeteer from "https://deno.land/x/pupNon-ascii characters not showing in subject field using Deno SMTPWhen using the smtp library non-ascii characters show up fine in the body. But if included in the heDefault Lint RulesIs there a list of the lint rules that are applied by default. When I look at the documentation it mErrors with mocking & testing in supabase edge function running on deno.Hi everyone - I am sincerely hoping you can save me from pulling out all my hair with this. At my Errors Deploying Fresh ProjectI am new to Deno and working through the Fresh tutorial. I have reached the deployment section: httRun all test in sub-folderHey guys - day one deno newby here. Incredibly inspired by what I've been able to achieve on my firsRead source code contentIs there a way to read the current source code of the a given a file URL (using `import.meta.url`) wDanet create is stuck at databaseWhat am I supposed to do to choose postgres?Working around imports without a file extensionI'm facing an apparent contradiction between the requirements for importing modules, and the import deno runtime extensions seems to be not workingthe example provided here https://github.com/denoland/deno/tree/main/runtime/examples/extension_withcant set up vscode language serveri got some error from the initialization of the language server: ```Starting Deno language server...